Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.002388/0.002388, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002584/0.002584, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3848/0.3848, allocations: 34.25 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.838e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02441/0.02445, allocations: 16.13 MB / 393.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.03713, allocations: 5.393 MB / 398.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.04009, allocations: 163.1 kB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.05088, allocations: 4.988 MB / 404 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008567/0.05944, allocations: 2.597 MB / 406.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.06325, allocations: 1.497 MB / 408.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.07895, allocations: 10.05 MB / 418.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008869/0.08782, allocations: 5.471 MB / 423.6 MB, free: 4.488 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00847/0.09629, allocations: 3.953 MB / 427.5 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007204/0.1035, allocations: 3.804 MB / 431.3 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.105, allocations: 0.5117 MB / 431.9 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.1082, allocations: 1.295 MB / 433.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.1123, allocations: 3.11 MB / 436.3 MB, free: 7.789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003851/0.1162, allocations: 1.948 MB / 438.2 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2002/0.3164, allocations: 9.502 MB / 447.7 MB, free: 67.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3164, allocations: 0 / 447.7 MB, free: 67.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3164, allocations: 2.844 kB / 447.7 MB, free: 67.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003407/0.3167, allocations: 0 / 447.7 MB, free: 67.01 MB / 410.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.02299/0.3397, allocations: 8.29 MB / 456 MB, free: 64.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3397, allocations: 11.59 kB / 456 MB, free: 64.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.3523, allocations: 2.459 MB / 458.5 MB, free: 63.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.3643, allocations: 4.923 MB / 463.4 MB, free: 63.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.3646, allocations: 349.6 kB / 463.7 MB, free: 62.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.3659, allocations: 410.8 kB / 464.1 MB, free: 62.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.3815, allocations: 7.332 MB / 471.5 MB, free: 60.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.3817, allocations: 62 kB / 471.5 MB, free: 60.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.3822, allocations: 179.6 kB / 471.7 MB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.3851, allocations: 1.723 MB / 473.4 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.4009, allocations: 4.377 MB / 477.8 MB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05783/0.4588, allocations: 45.88 MB / 0.5114 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/0.4766, allocations: 4.914 MB / 0.5162 GB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/0.4798, allocations: 1.545 MB / 0.5177 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.4963, allocations: 7.361 MB / 0.5249 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.4963, allocations: 67.62 kB / 0.525 GB, free: 18.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 5.681e-06/0.4963, allocations: 0 / 0.525 GB, free: 18.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.2237/0.72, allocations: 53.98 MB / 0.5777 GB, free: 13.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01472/0.7347, allocations: 6.271 MB / 0.5838 GB, free: 6.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008406/0.7431, allocations: 4.449 MB / 0.5882 GB, free: 2.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/0.7444, allocations: 97.69 kB / 0.5882 GB, free: 2.363 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003676/0.748, allocations: 3.319 MB / 0.5915 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003272/0.7513, allocations: 1.639 MB / 0.5931 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/0.7546, allocations: 1.555 MB / 0.5946 GB, free: 11.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.7548, allocations: 484.5 kB / 0.5951 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/0.759, allocations: 1.714 MB / 0.5967 GB, free: 9.695 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007792/0.7668, allocations: 5.02 MB / 0.6016 GB, free: 3.414 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2141/0.9809, allocations: 8.528 MB / 0.61 GB, free: 136.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-05/0.981, allocations: 17.25 kB / 0.61 GB, free: 136.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03303/1.014, allocations: 11.87 MB / 0.6216 GB, free: 135.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.014, allocations: 34.22 kB / 0.6216 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-05/1.014, allocations: 65.84 kB / 0.6217 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03007/1.044, allocations: 7.341 MB / 0.6288 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/1.049, allocations: 1.139 MB / 0.63 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04739/1.097, allocations: 22.68 MB / 0.6521 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/1.104, allocations: 0.6424 MB / 0.6527 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/1.106, allocations: 302.1 kB / 0.653 GB, free: 126.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (591): * Single equations (assignments): 582 * 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 {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.003111/1.109, allocations: 0.6382 MB / 0.6536 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001792/1.111, allocations: 0.5743 MB / 0.6542 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03091/1.142, allocations: 10.59 MB / 0.6645 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02745/1.169, allocations: 9.152 MB / 0.6735 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/1.169, allocations: 32 kB / 0.6735 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/1.169, allocations: 19.92 kB / 0.6735 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0591/1.228, allocations: 23.78 MB / 0.6967 GB, free: 86.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/1.228, allocations: 4 kB / 0.6968 GB, free: 86.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.231, allocations: 455.8 kB / 0.6972 GB, free: 85.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02819/1.259, allocations: 7.248 MB / 0.7043 GB, free: 78.33 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/1.26, allocations: 71.98 kB / 0.7043 GB, free: 78.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04446/1.305, allocations: 21.51 MB / 0.7253 GB, free: 56.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009496/1.314, allocations: 5.38 MB / 0.7306 GB, free: 50.92 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0349/1.349, allocations: 12.02 MB / 0.7423 GB, free: 38.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.352, allocations: 0.5086 MB / 0.7428 GB, free: 38.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002256/1.354, allocations: 71.94 kB / 0.7429 GB, free: 38.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005924/1.36, allocations: 0.5187 MB / 0.7434 GB, free: 37.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/1.362, allocations: 343.8 kB / 0.7437 GB, free: 37.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004355/1.362, allocations: 99.98 kB / 0.7438 GB, free: 37.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003475/1.366, allocations: 2.131 MB / 0.7459 GB, free: 35.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.366, allocations: 4 kB / 0.7459 GB, free: 35.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008739/1.375, allocations: 2.551 MB / 0.7484 GB, free: 32.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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 {(9,99,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009578/1.375, allocations: 201.5 kB / 0.7486 GB, free: 32.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01639/1.392, allocations: 7.433 MB / 0.7558 GB, free: 24.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-05/1.392, allocations: 0 / 0.7558 GB, free: 24.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01099/1.403, allocations: 4.595 MB / 0.7603 GB, free: 20.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/1.408, allocations: 0.7427 MB / 0.7611 GB, free: 19.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.429, allocations: 12.78 MB / 0.7735 GB, free: 6.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1915/1.621, allocations: 3.346 MB / 0.7768 GB, free: 128.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003749/1.625, allocations: 1.195 MB / 0.778 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.626, allocations: 303.4 kB / 0.7783 GB, free: 128 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/1.626, allocations: 0 / 0.7783 GB, free: 128 MB / 474.7 MB Notification: Performance of Templates: time 0.1636/1.79, allocations: 129 MB / 0.9042 GB, free: 37.79 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.523098942940123]