Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001516/0.001516, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001716/0.001716, allocations: 161.7 kB / 24.27 MB, free: 172 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.566/1.566, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3377/0.3377, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.567e-05, allocations: 6.25 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01998/0.02002, allocations: 14.58 MB / 389.9 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.03262, allocations: 5.28 MB / 395.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.03545, allocations: 163.1 kB / 395.3 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.04601, allocations: 4.836 MB / 400.1 MB, free: 12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007561/0.05357, allocations: 2.601 MB / 402.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.05758, allocations: 1.489 MB / 404.2 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.07349, allocations: 10.06 MB / 414.3 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009099/0.08259, allocations: 5.44 MB / 419.7 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008796/0.09138, allocations: 3.93 MB / 423.6 MB, free: 4.371 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.0987, allocations: 3.737 MB / 427.4 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.1004, allocations: 0.5234 MB / 427.9 MB, free: 104 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.1036, allocations: 1.291 MB / 429.2 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.1075, allocations: 3.105 MB / 432.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003494/0.111, allocations: 1.948 MB / 434.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.1237, allocations: 9.566 MB / 443.8 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1237, allocations: 0 / 443.8 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1237, allocations: 0 / 443.8 MB, free: 152 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.124, allocations: 0 / 443.8 MB, free: 152 kB / 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.1897/0.3136, allocations: 7.525 MB / 451.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3137, allocations: 13.86 kB / 451.4 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.3256, allocations: 2.493 MB / 453.9 MB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.3362, allocations: 5.459 MB / 459.3 MB, free: 98.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.3365, allocations: 347.8 kB / 459.7 MB, free: 97.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.3383, allocations: 423.2 kB / 460.1 MB, free: 97.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.3577, allocations: 11.37 MB / 471.4 MB, free: 92.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.3579, allocations: 56.8 kB / 471.5 MB, free: 92.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004594/0.3584, allocations: 183.7 kB / 471.7 MB, free: 92.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.361, allocations: 1.737 MB / 473.4 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.3812, allocations: 9.73 MB / 483.1 MB, free: 89.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05414/0.4353, allocations: 42.19 MB / 0.513 GB, free: 49.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/0.4547, allocations: 7.744 MB / 0.5206 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/0.4599, allocations: 5.146 MB / 0.5256 GB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.4781, allocations: 12.42 MB / 0.5377 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.4782, allocations: 64.86 kB / 0.5378 GB, free: 23.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=291): time 5.701e-06/0.4782, allocations: 0 / 0.5378 GB, free: 23.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.6065/1.085, allocations: 125.5 MB / 0.6603 GB, free: 122 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02314/1.108, allocations: 16.02 MB / 0.6759 GB, free: 105.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005403/1.113, allocations: 4.334 MB / 0.6802 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001304/1.115, allocations: 93.7 kB / 0.6803 GB, free: 101.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.116, allocations: 2.911 MB / 0.6831 GB, free: 98.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00228/1.118, allocations: 1.512 MB / 0.6846 GB, free: 97.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/1.121, allocations: 1.298 MB / 0.6859 GB, free: 96.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/1.121, allocations: 301.1 kB / 0.6861 GB, free: 95.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006709/1.128, allocations: 6.017 MB / 0.692 GB, free: 89.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008827/1.136, allocations: 8.116 MB / 0.6999 GB, free: 80.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/1.155, allocations: 14.66 MB / 0.7143 GB, free: 65.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.738e-05/1.155, allocations: 20 kB / 0.7143 GB, free: 65.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.05241/1.207, allocations: 27 MB / 0.7406 GB, free: 38.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.207, allocations: 32.78 kB / 0.7407 GB, free: 38.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.733e-05/1.207, allocations: 64.12 kB / 0.7407 GB, free: 38.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04351/1.251, allocations: 16.78 MB / 0.7571 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/1.255, allocations: 1.115 MB / 0.7582 GB, free: 20.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2615/1.516, allocations: 71.12 MB / 0.8277 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/1.524, allocations: 0.7907 MB / 0.8284 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.526, allocations: 298.2 kB / 0.8287 GB, free: 103 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 281 * 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 (576): * Single equations (assignments): 567 * 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,116,57.0%), (4,22,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,54)} Notification: Performance of prepare postOptimizeDAE: time 0.004683/1.53, allocations: 2.286 MB / 0.831 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.532, allocations: 0.5776 MB / 0.8315 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04856/1.581, allocations: 25.67 MB / 0.8566 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05177/1.633, allocations: 23.96 MB / 0.88 GB, free: 58.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-05/1.633, allocations: 33.88 kB / 0.88 GB, free: 58.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/1.633, allocations: 19.92 kB / 0.88 GB, free: 58.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07432/1.707, allocations: 43.24 MB / 0.9223 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/1.707, allocations: 4.469 kB / 0.9223 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.71, allocations: 451.2 kB / 0.9227 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04688/1.756, allocations: 17.12 MB / 0.9394 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001327/1.758, allocations: 83.98 kB / 0.9395 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2948/2.053, allocations: 71.84 MB / 1.01 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02121/2.074, allocations: 14.49 MB / 1.024 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0595/2.133, allocations: 33.8 MB / 1.057 GB, free: 68.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/2.135, allocations: 0.5185 MB / 1.057 GB, free: 67.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/2.137, allocations: 79.98 kB / 1.057 GB, free: 67.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005065/2.142, allocations: 0.6642 MB / 1.058 GB, free: 66.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002169/2.144, allocations: 364 kB / 1.058 GB, free: 66.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004911/2.145, allocations: 108 kB / 1.058 GB, free: 66.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003803/2.149, allocations: 2.778 MB / 1.061 GB, free: 63.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/2.149, allocations: 0 / 1.061 GB, free: 63.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01104/2.16, allocations: 2.827 MB / 1.064 GB, free: 60.67 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 (212): * Single equations (assignments): 209 * 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,111,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/2.161, allocations: 208.5 kB / 1.064 GB, free: 60.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02238/2.183, allocations: 15.08 MB / 1.079 GB, free: 45.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.183, allocations: 0 / 1.079 GB, free: 45.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01466/2.198, allocations: 8.208 MB / 1.087 GB, free: 37.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007009/2.205, allocations: 0.7781 MB / 1.088 GB, free: 36.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/2.232, allocations: 17.99 MB / 1.105 GB, free: 18.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/2.237, allocations: 3.678 MB / 1.109 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003931/2.241, allocations: 1.594 MB / 1.11 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.242, allocations: 296.3 kB / 1.111 GB, free: 12.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/2.242, allocations: 0 / 1.111 GB, free: 12.67 MB / 474.7 MB Notification: Performance of Templates: time 0.3549/2.597, allocations: 153.5 MB / 1.261 GB, free: 25.65 MB / 474.7 MB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.434693456045352]