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.001022/0.001022, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001127/0.001127, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2699/0.2699, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] 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 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.618e-05, allocations: 3.188 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01122/0.01124, allocations: 15.88 MB / 341.2 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.02102, allocations: 5.609 MB / 346.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.02279, allocations: 159.1 kB / 346.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.02695, allocations: 4.906 MB / 351.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.03043, allocations: 2.609 MB / 354.5 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.03215, allocations: 1.497 MB / 356 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007505/0.03966, allocations: 9.972 MB / 365.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005765/0.04542, allocations: 5.134 MB / 371.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.05104, allocations: 5.705 MB / 376.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.05397, allocations: 3.593 MB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.05443, allocations: 0.5196 MB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.056, allocations: 1.319 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.05767, allocations: 3.121 MB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.059, allocations: 1.952 MB / 387.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.06337, allocations: 6.125 MB / 393.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06337, allocations: 0 / 393.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.06337, allocations: 0 / 393.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.303e-05/0.06342, allocations: 0 / 393.4 MB, free: 3.254 MB / 362.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.006991/0.07041, allocations: 6.548 MB / 399.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.07045, allocations: 12.03 kB / 400 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.07306, allocations: 1.101 MB / 401.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.07751, allocations: 3.75 MB / 404.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.0777, allocations: 343.6 kB / 405.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/0.07815, allocations: 416.1 kB / 405.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007055/0.0852, allocations: 5.511 MB / 411.1 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.08531, allocations: 59.53 kB / 411.1 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.08558, allocations: 179.9 kB / 411.3 MB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/0.08673, allocations: 1.503 MB / 412.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00488/0.09161, allocations: 2.819 MB / 415.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2326/0.3242, allocations: 31.11 MB / 446.7 MB, free: 72.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/0.3328, allocations: 3.402 MB / 450.1 MB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3338, allocations: 0.8172 MB / 450.9 MB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008194/0.342, allocations: 5.819 MB / 456.8 MB, free: 72.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3421, allocations: 59.94 kB / 456.8 MB, free: 72.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.654e-06/0.3421, allocations: 0.7188 kB / 456.8 MB, free: 72.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.09133/0.4334, allocations: 37.63 MB / 494.5 MB, free: 47.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005705/0.4391, allocations: 4.476 MB / 498.9 MB, free: 43.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.442, allocations: 3.404 MB / 0.4906 GB, free: 41.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.4423, allocations: 79.03 kB / 0.4906 GB, free: 40.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008238/0.4432, allocations: 2.63 MB / 0.4932 GB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007306/0.4439, allocations: 1.133 MB / 0.4943 GB, free: 37.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.445, allocations: 1.065 MB / 0.4954 GB, free: 36.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.245e-05/0.4451, allocations: 305.1 kB / 0.4956 GB, free: 36.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.4469, allocations: 1.261 MB / 0.4969 GB, free: 35.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.4494, allocations: 3.597 MB / 0.5004 GB, free: 30.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.4543, allocations: 5.591 MB / 0.5058 GB, free: 24.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.4543, allocations: 24 kB / 0.5059 GB, free: 24.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01356/0.4678, allocations: 7.367 MB / 0.5131 GB, free: 17.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.4679, allocations: 39.94 kB / 0.5131 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.556e-05/0.4679, allocations: 76 kB / 0.5132 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/0.4789, allocations: 4.142 MB / 0.5172 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.4809, allocations: 1.124 MB / 0.5183 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/0.4985, allocations: 13.44 MB / 0.5314 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.5019, allocations: 207.9 kB / 0.5316 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/0.5022, allocations: 232 kB / 0.5319 GB, free: 14.29 MB / 426.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.001532/0.5038, allocations: 0.5288 MB / 0.5324 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006228/0.5044, allocations: 331.7 kB / 0.5327 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.517, allocations: 5.975 MB / 0.5385 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01121/0.5282, allocations: 4.746 MB / 0.5432 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/0.5282, allocations: 20 kB / 0.5432 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.5282, allocations: 15.94 kB / 0.5432 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/0.5532, allocations: 14.04 MB / 0.5569 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5532, allocations: 13.08 kB / 0.5569 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.554, allocations: 327.8 kB / 0.5572 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/0.5666, allocations: 4.639 MB / 0.5618 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/0.5669, allocations: 63.98 kB / 0.5618 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/0.5874, allocations: 13.55 MB / 0.5751 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00549/0.5929, allocations: 3.503 MB / 0.5785 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.6069, allocations: 6.465 MB / 0.5848 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.608, allocations: 448.8 kB / 0.5852 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/0.6085, allocations: 67.92 kB / 0.5853 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.61, allocations: 64 kB / 0.5854 GB, free: 8.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009464/0.6109, allocations: 270.6 kB / 0.5856 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.6111, allocations: 63.98 kB / 0.5857 GB, free: 7.848 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001631/0.6128, allocations: 1.456 MB / 0.5871 GB, free: 6.551 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6128, allocations: 0 / 0.5871 GB, free: 6.551 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005036/0.6178, allocations: 2.207 MB / 0.5892 GB, free: 4.348 MB / 474.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.0004886/0.6183, allocations: 176 kB / 0.5894 GB, free: 4.164 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006824/0.6251, allocations: 4.438 MB / 0.5938 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-05/0.6252, allocations: 71.94 kB / 0.5938 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/0.6284, allocations: 2.297 MB / 0.5961 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.6311, allocations: 0.9428 MB / 0.597 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.647, allocations: 11.04 MB / 0.6078 GB, free: 1.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/0.6489, allocations: 1.659 MB / 0.6094 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001628/0.6506, allocations: 0.5313 MB / 0.6099 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/0.6523, allocations: 0.6983 MB / 0.6106 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of SimCode: time 2.245e-06/0.6523, allocations: 0 / 0.6106 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.2579/0.9103, allocations: 116.6 MB / 0.7244 GB, free: 92.7 MB / 0.4948 GB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.226926809642464]