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.0009489/0.0009489, 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.0009949/0.0009949, allocations: 171.7 kB / 24.92 MB, free: 8.723 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 0.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.086 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.282/0.282, allocations: 34.26 MB / 296.1 MB, free: 0.6133 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.422e-06/1.422e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.558e-05, allocations: 2.312 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0113/0.01132, allocations: 15.83 MB / 341.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007757/0.01908, allocations: 5.606 MB / 346.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009547/0.02003, allocations: 159.1 kB / 346.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.02415, allocations: 4.992 MB / 351.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002914/0.02707, allocations: 2.632 MB / 354.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.02858, allocations: 1.497 MB / 356 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006444/0.03502, allocations: 9.98 MB / 366 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003888/0.03891, allocations: 5.568 MB / 371.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.04394, allocations: 5.853 MB / 377.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.04768, allocations: 3.589 MB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005604/0.04824, allocations: 0.5156 MB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.04968, allocations: 1.287 MB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.05146, allocations: 3.113 MB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.05314, allocations: 1.948 MB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.05773, allocations: 6.125 MB / 394 MB, free: 2.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.05774, allocations: 0 / 394 MB, free: 2.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.05774, allocations: 0 / 394 MB, free: 2.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.214e-05/0.05783, allocations: 4 kB / 394 MB, free: 2.695 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.007389/0.06522, allocations: 6.553 MB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.06526, allocations: 8.031 kB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.06781, allocations: 1.101 MB / 401.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.072, allocations: 3.746 MB / 405.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.07218, allocations: 351.6 kB / 405.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/0.07262, allocations: 412.1 kB / 406.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006256/0.07887, allocations: 5.51 MB / 411.6 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-05/0.07897, allocations: 55.58 kB / 411.7 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.07926, allocations: 179.9 kB / 411.9 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001162/0.08042, allocations: 1.503 MB / 413.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00489/0.08531, allocations: 2.815 MB / 416.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.2781, allocations: 31.12 MB / 447.3 MB, free: 72.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.2876, allocations: 3.404 MB / 450.7 MB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.2891, allocations: 0.818 MB / 451.5 MB, free: 72.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009295/0.2984, allocations: 5.817 MB / 457.3 MB, free: 72.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.2985, allocations: 55.91 kB / 457.4 MB, free: 72.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 3.807e-06/0.2985, allocations: 0 / 457.4 MB, free: 72.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.1098/0.4083, allocations: 37.32 MB / 494.7 MB, free: 47.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005761/0.414, allocations: 4.47 MB / 499.2 MB, free: 43.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4172, allocations: 3.403 MB / 0.4908 GB, free: 41.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006394/0.4178, allocations: 77.7 kB / 0.4909 GB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.4187, allocations: 2.63 MB / 0.4934 GB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008899/0.4196, allocations: 1.142 MB / 0.4946 GB, free: 37.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.4207, allocations: 1.057 MB / 0.4956 GB, free: 36.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.375e-05/0.4207, allocations: 304.5 kB / 0.4959 GB, free: 36.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.4226, allocations: 1.261 MB / 0.4971 GB, free: 35.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.4249, allocations: 3.592 MB / 0.5006 GB, free: 30.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/0.4297, allocations: 5.6 MB / 0.5061 GB, free: 24.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/0.4297, allocations: 20 kB / 0.5061 GB, free: 24.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01366/0.4434, allocations: 7.369 MB / 0.5133 GB, free: 17.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.4434, allocations: 40.97 kB / 0.5133 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-05/0.4435, allocations: 76 kB / 0.5134 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.4542, allocations: 4.151 MB / 0.5175 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.4561, allocations: 1.054 MB / 0.5185 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.4738, allocations: 13.38 MB / 0.5316 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/0.4779, allocations: 211.6 kB / 0.5318 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/0.4783, allocations: 232 kB / 0.532 GB, free: 14.64 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.001822/0.4801, allocations: 0.5194 MB / 0.5325 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/0.4809, allocations: 335.7 kB / 0.5328 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.4932, allocations: 5.973 MB / 0.5387 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01099/0.5042, allocations: 4.747 MB / 0.5433 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.184e-05/0.5042, allocations: 24 kB / 0.5433 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.5043, allocations: 15.94 kB / 0.5433 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/0.5294, allocations: 14.04 MB / 0.557 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.5294, allocations: 8 kB / 0.557 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.5302, allocations: 300.7 kB / 0.5573 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0127/0.5429, allocations: 4.641 MB / 0.5619 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003788/0.5432, allocations: 63.98 kB / 0.5619 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.5631, allocations: 13.5 MB / 0.5751 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005389/0.5685, allocations: 3.49 MB / 0.5785 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.583, allocations: 6.459 MB / 0.5848 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.5842, allocations: 458.2 kB / 0.5853 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/0.5848, allocations: 63.98 kB / 0.5853 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.5863, allocations: 59.98 kB / 0.5854 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00077/0.5871, allocations: 283.1 kB / 0.5857 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.5872, allocations: 60 kB / 0.5857 GB, free: 8.281 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001661/0.5889, allocations: 1.45 MB / 0.5871 GB, free: 6.992 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5889, allocations: 0 / 0.5871 GB, free: 6.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005343/0.5942, allocations: 2.214 MB / 0.5893 GB, free: 4.781 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.0005048/0.5948, allocations: 181 kB / 0.5895 GB, free: 4.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007483/0.6022, allocations: 4.432 MB / 0.5938 GB, free: 188 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000143/0.6024, allocations: 71.94 kB / 0.5939 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003541/0.6059, allocations: 2.293 MB / 0.5961 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/0.6095, allocations: 0.9419 MB / 0.597 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.6262, allocations: 11.05 MB / 0.6078 GB, free: 1.703 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.6281, allocations: 1.659 MB / 0.6094 GB, free: 24 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.1489/0.777, allocations: 0.5237 MB / 0.6099 GB, free: 149.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.7783, allocations: 0.707 MB / 0.6106 GB, free: 149.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.575e-06/0.7783, allocations: 0 / 0.6106 GB, free: 149.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1224/0.9007, allocations: 116.6 MB / 0.7245 GB, free: 61.73 MB / 490.7 MB " [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 -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.201016259845346]