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.002377/0.002377, 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.002814/0.002814, allocations: 165.3 kB / 24.28 MB, free: 156 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3611/0.3611, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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 6.442e-06/6.442e-06, allocations: 4 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.514e-05, allocations: 9.484 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02245/0.02248, allocations: 16.13 MB / 391.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.03603, allocations: 5.389 MB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003996/0.04002, allocations: 159.1 kB / 397 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.05064, allocations: 4.984 MB / 401.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.05787, allocations: 2.613 MB / 404.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.06121, allocations: 1.49 MB / 406 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01568/0.07689, allocations: 10.04 MB / 416.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008662/0.08555, allocations: 5.467 MB / 421.5 MB, free: 6.504 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009704/0.09525, allocations: 3.957 MB / 425.5 MB, free: 2.539 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007592/0.1028, allocations: 3.808 MB / 429.3 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.1047, allocations: 0.5195 MB / 429.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.1082, allocations: 1.288 MB / 431.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004514/0.1127, allocations: 3.113 MB / 434.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004328/0.117, allocations: 1.944 MB / 436.2 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1837/0.3007, allocations: 9.498 MB / 445.7 MB, free: 68.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3007, allocations: 2.906 kB / 445.7 MB, free: 68.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3007, allocations: 0 / 445.7 MB, free: 68.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003492/0.3011, allocations: 0 / 445.7 MB, free: 68.85 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.02165/0.3227, allocations: 8.297 MB / 454 MB, free: 66.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3228, allocations: 13.45 kB / 454 MB, free: 66.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.3361, allocations: 2.459 MB / 456.4 MB, free: 65.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.3494, allocations: 4.917 MB / 461.4 MB, free: 64.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.3497, allocations: 351.1 kB / 461.7 MB, free: 64.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.3509, allocations: 410.7 kB / 462.1 MB, free: 64.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.3668, allocations: 7.335 MB / 469.4 MB, free: 62.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.367, allocations: 56.52 kB / 469.5 MB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/0.3674, allocations: 181.7 kB / 469.7 MB, free: 62.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002873/0.3703, allocations: 1.723 MB / 471.4 MB, free: 61.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.3857, allocations: 4.376 MB / 475.8 MB, free: 61.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06376/0.4494, allocations: 45.88 MB / 0.5094 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/0.4678, allocations: 4.909 MB / 0.5142 GB, free: 27.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/0.4708, allocations: 1.541 MB / 0.5157 GB, free: 27.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.4865, allocations: 7.358 MB / 0.5229 GB, free: 21.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.4866, allocations: 70.05 kB / 0.523 GB, free: 21.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 5.971e-06/0.4866, allocations: 1.531 kB / 0.523 GB, free: 21.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.2323/0.7189, allocations: 53.98 MB / 0.5757 GB, free: 72 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01464/0.7335, allocations: 6.275 MB / 0.5818 GB, free: 9.645 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008224/0.7417, allocations: 4.454 MB / 0.5862 GB, free: 5.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/0.743, allocations: 89.7 kB / 0.5863 GB, free: 5.086 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003799/0.7468, allocations: 3.326 MB / 0.5895 GB, free: 1.785 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003209/0.75, allocations: 1.636 MB / 0.5911 GB, free: 172 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003567/0.7536, allocations: 1.551 MB / 0.5926 GB, free: 14.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.7538, allocations: 484.7 kB / 0.5931 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/0.7584, allocations: 1.714 MB / 0.5948 GB, free: 12.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008305/0.7667, allocations: 5.023 MB / 0.5997 GB, free: 6.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2004/0.9671, allocations: 8.526 MB / 0.608 GB, free: 139.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.283e-05/0.9672, allocations: 24.38 kB / 0.608 GB, free: 139.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03543/1.003, allocations: 11.87 MB / 0.6196 GB, free: 139.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/1.003, allocations: 36 kB / 0.6196 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.212e-05/1.003, allocations: 63.28 kB / 0.6197 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02936/1.032, allocations: 7.341 MB / 0.6269 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/1.037, allocations: 1.134 MB / 0.628 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05106/1.088, allocations: 22.68 MB / 0.6501 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/1.095, allocations: 0.6381 MB / 0.6507 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.096, allocations: 298.8 kB / 0.651 GB, free: 130.3 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.002361/1.099, allocations: 0.6468 MB / 0.6517 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.1, allocations: 0.5778 MB / 0.6522 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03076/1.131, allocations: 10.58 MB / 0.6626 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02841/1.159, allocations: 9.152 MB / 0.6715 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.141e-05/1.16, allocations: 31.94 kB / 0.6715 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/1.16, allocations: 19.92 kB / 0.6716 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05735/1.217, allocations: 23.77 MB / 0.6948 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.625e-05/1.217, allocations: 7.312 kB / 0.6948 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.22, allocations: 454.7 kB / 0.6952 GB, free: 90.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02769/1.247, allocations: 7.242 MB / 0.7023 GB, free: 83.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/1.249, allocations: 75.98 kB / 0.7024 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0419/1.291, allocations: 21.52 MB / 0.7234 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009283/1.3, allocations: 5.376 MB / 0.7286 GB, free: 55.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03298/1.333, allocations: 12.02 MB / 0.7403 GB, free: 43.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.335, allocations: 0.5072 MB / 0.7408 GB, free: 43.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.336, allocations: 72 kB / 0.7409 GB, free: 43.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004331/1.34, allocations: 0.5327 MB / 0.7414 GB, free: 42.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/1.342, allocations: 343.5 kB / 0.7418 GB, free: 42.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003715/1.342, allocations: 100 kB / 0.7419 GB, free: 42.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002999/1.345, allocations: 2.135 MB / 0.7439 GB, free: 40.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.345, allocations: 0 / 0.7439 GB, free: 40.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007279/1.353, allocations: 2.551 MB / 0.7464 GB, free: 37.53 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.0006682/1.353, allocations: 204.7 kB / 0.7466 GB, free: 37.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01446/1.368, allocations: 7.417 MB / 0.7539 GB, free: 29.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.368, allocations: 0 / 0.7539 GB, free: 29.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009731/1.378, allocations: 4.6 MB / 0.7584 GB, free: 25.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005149/1.383, allocations: 0.7483 MB / 0.7591 GB, free: 24.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/1.407, allocations: 12.78 MB / 0.7716 GB, free: 11.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1626/1.57, allocations: 3.35 MB / 0.7748 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00392/1.574, allocations: 1.203 MB / 0.776 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001874/1.576, allocations: 295.8 kB / 0.7763 GB, free: 129.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/1.576, allocations: 2.875 kB / 0.7763 GB, free: 129.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1632/1.739, allocations: 129 MB / 0.9022 GB, free: 40.52 MB / 474.7 MB " [Timeout remaining time 658] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.405885724001564]