Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8956/0.8956, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1324/0.1324, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.746e-05, allocations: 6.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.1714/0.1714, allocations: 15.99 MB / 315.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1858, allocations: 5.582 MB / 320.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.1908, allocations: 158.7 kB / 320.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007563/0.1984, allocations: 5.01 MB / 325.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007645/0.206, allocations: 2.683 MB / 328.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.2095, allocations: 1.505 MB / 330 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.2208, allocations: 8.953 MB / 339 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007408/0.2282, allocations: 5.586 MB / 344.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.2384, allocations: 5.205 MB / 349.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006336/0.2447, allocations: 3.605 MB / 353.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.2471, allocations: 0.5195 MB / 353.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003798/0.2509, allocations: 1.299 MB / 355.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004813/0.2557, allocations: 3.145 MB / 358.3 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.2603, allocations: 1.96 MB / 360.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.2687, allocations: 6.183 MB / 366.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.2687, allocations: 0 / 366.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.2687, allocations: 0 / 366.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004666/0.2691, allocations: 0 / 366.5 MB, free: 10.64 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01454/0.2837, allocations: 6.532 MB / 373 MB, free: 4.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2837, allocations: 12.03 kB / 373 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/0.2869, allocations: 1.105 MB / 374.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006951/0.2939, allocations: 3.825 MB / 377.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.2942, allocations: 343.6 kB / 378.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.2953, allocations: 412.1 kB / 378.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009303/0.3046, allocations: 5.511 MB / 384.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/0.3048, allocations: 56.14 kB / 384.2 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/0.3052, allocations: 179.9 kB / 384.4 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/0.3071, allocations: 1.503 MB / 385.9 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.3186, allocations: 2.815 MB / 388.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0386/0.3572, allocations: 31.04 MB / 419.8 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009123/0.3663, allocations: 3.399 MB / 423.2 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3679, allocations: 0.8188 MB / 424 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.3781, allocations: 5.847 MB / 429.8 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.3781, allocations: 60.55 kB / 429.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=228): time 5.831e-06/0.3781, allocations: 0 / 429.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=307): time 0.2834/0.6615, allocations: 37.38 MB / 467.3 MB, free: 121.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005814/0.6673, allocations: 4.468 MB / 471.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.6708, allocations: 3.456 MB / 475.2 MB, free: 119.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.6711, allocations: 80.97 kB / 475.3 MB, free: 119.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6723, allocations: 2.627 MB / 477.9 MB, free: 118.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008994/0.6732, allocations: 1.139 MB / 479 MB, free: 117.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.6745, allocations: 1.069 MB / 480.1 MB, free: 117.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.6746, allocations: 305.1 kB / 480.4 MB, free: 116.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.6765, allocations: 1.26 MB / 481.7 MB, free: 116.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.6792, allocations: 3.589 MB / 485.3 MB, free: 113.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/0.6841, allocations: 5.597 MB / 490.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.343e-05/0.6842, allocations: 24 kB / 490.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01307/0.6972, allocations: 7.369 MB / 498.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.6973, allocations: 40 kB / 498.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-05/0.6973, allocations: 76 kB / 498.4 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.7079, allocations: 4.146 MB / 0.4907 GB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.7096, allocations: 1.045 MB / 0.4918 GB, free: 95.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/0.727, allocations: 13.4 MB / 0.5048 GB, free: 82.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.7311, allocations: 195.9 kB / 0.505 GB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.7314, allocations: 248 kB / 0.5053 GB, free: 81.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,86,92.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001962/0.7333, allocations: 0.5227 MB / 0.5058 GB, free: 81.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008069/0.7341, allocations: 335.7 kB / 0.5061 GB, free: 81.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.749, allocations: 5.978 MB / 0.5119 GB, free: 74.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01338/0.7624, allocations: 4.747 MB / 0.5166 GB, free: 70.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-05/0.7624, allocations: 20.69 kB / 0.5166 GB, free: 70.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.7624, allocations: 19.94 kB / 0.5166 GB, free: 70.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02714/0.7896, allocations: 14.11 MB / 0.5304 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.7896, allocations: 8 kB / 0.5304 GB, free: 55.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.7903, allocations: 291.5 kB / 0.5307 GB, free: 55.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/0.8019, allocations: 4.642 MB / 0.5352 GB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/0.8022, allocations: 63.98 kB / 0.5353 GB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.8193, allocations: 13.49 MB / 0.5484 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004353/0.8237, allocations: 3.501 MB / 0.5519 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.8362, allocations: 6.451 MB / 0.5582 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/0.8381, allocations: 0.9303 MB / 0.5591 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/0.8386, allocations: 60 kB / 0.5591 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.8399, allocations: 71.98 kB / 0.5592 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00077/0.8407, allocations: 274.5 kB / 0.5595 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.8409, allocations: 63.98 kB / 0.5595 GB, free: 25.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.8423, allocations: 1.498 MB / 0.561 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8423, allocations: 0 / 0.561 GB, free: 23.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004722/0.847, allocations: 2.234 MB / 0.5632 GB, free: 21.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,83,92.0%), (4,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004576/0.8475, allocations: 183.5 kB / 0.5633 GB, free: 21.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005605/0.8531, allocations: 4.435 MB / 0.5677 GB, free: 16.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.153e-05/0.8531, allocations: 73.88 kB / 0.5677 GB, free: 16.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.8558, allocations: 2.3 MB / 0.57 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8583, allocations: 0.9472 MB / 0.5709 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.8702, allocations: 11.11 MB / 0.5818 GB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.8715, allocations: 1.672 MB / 0.5834 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001263/0.8728, allocations: 0.5394 MB / 0.5839 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.8742, allocations: 0.7021 MB / 0.5846 GB, free: 15.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.8742, allocations: 0 / 0.5846 GB, free: 15.27 MB / 426.7 MB Notification: Performance of Templates: time 0.2732/1.147, allocations: 117.7 MB / 0.6996 GB, free: 75.22 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.689295889809728]