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.001461/0.001461, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.001552/0.001552, allocations: 161.3 kB / 24.27 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.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3612/0.3612, 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.245e-06/2.245e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.385e-05/4.61e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02998/0.03002, allocations: 14.57 MB / 391.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.04896, allocations: 5.303 MB / 397.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.05345, allocations: 159.1 kB / 397.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.0687, allocations: 4.832 MB / 402.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.08014, allocations: 2.601 MB / 404.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005398/0.08554, allocations: 1.486 MB / 406.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01653/0.1021, allocations: 10.05 MB / 416.3 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008957/0.111, allocations: 5.451 MB / 421.8 MB, free: 6.297 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008823/0.1199, allocations: 3.93 MB / 425.7 MB, free: 2.359 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006887/0.1267, allocations: 3.734 MB / 429.4 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.1286, allocations: 0.5234 MB / 429.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003861/0.1325, allocations: 1.295 MB / 431.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.1369, allocations: 3.105 MB / 434.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004258/0.1412, allocations: 1.952 MB / 436.3 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2321/0.3732, allocations: 9.555 MB / 445.8 MB, free: 68.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3733, allocations: 0 / 445.8 MB, free: 68.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3733, allocations: 1.219 kB / 445.8 MB, free: 68.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000382/0.3736, allocations: 0 / 445.8 MB, free: 68.58 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.02244/0.3961, allocations: 7.532 MB / 453.4 MB, free: 66.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3961, allocations: 8.781 kB / 453.4 MB, free: 66.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.4092, allocations: 2.493 MB / 455.9 MB, free: 65.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.4217, allocations: 5.452 MB / 461.3 MB, free: 64.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.422, allocations: 346 kB / 461.7 MB, free: 64.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.4238, allocations: 417.1 kB / 462.1 MB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.4448, allocations: 11.37 MB / 473.4 MB, free: 61.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.445, allocations: 65.14 kB / 473.5 MB, free: 61.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005107/0.4455, allocations: 179.2 kB / 473.7 MB, free: 61.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003084/0.4486, allocations: 1.738 MB / 475.4 MB, free: 60.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.4718, allocations: 9.729 MB / 485.2 MB, free: 57.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05398/0.5258, allocations: 42.2 MB / 0.515 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/0.5455, allocations: 7.733 MB / 0.5225 GB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005099/0.5506, allocations: 5.145 MB / 0.5276 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/0.5669, allocations: 12.42 MB / 0.5397 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.5669, allocations: 69.59 kB / 0.5398 GB, free: 4.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=291): time 5.731e-06/0.567, allocations: 0 / 0.5398 GB, free: 4.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=422): time 0.6011/1.168, allocations: 125.5 MB / 0.6623 GB, free: 134 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0236/1.192, allocations: 16.02 MB / 0.6779 GB, free: 117.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/1.197, allocations: 4.324 MB / 0.6822 GB, free: 113.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001544/1.199, allocations: 93.7 kB / 0.6822 GB, free: 113.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.2, allocations: 2.909 MB / 0.6851 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002483/1.203, allocations: 1.514 MB / 0.6866 GB, free: 109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002583/1.205, allocations: 1.304 MB / 0.6878 GB, free: 107.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/1.206, allocations: 301.1 kB / 0.6881 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007061/1.213, allocations: 6.013 MB / 0.694 GB, free: 101.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00822/1.221, allocations: 8.12 MB / 0.7019 GB, free: 92.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/1.238, allocations: 14.64 MB / 0.7162 GB, free: 76.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-05/1.238, allocations: 20 kB / 0.7162 GB, free: 76.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.05402/1.292, allocations: 26.99 MB / 0.7426 GB, free: 49.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/1.292, allocations: 32 kB / 0.7426 GB, free: 49.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/1.292, allocations: 60 kB / 0.7427 GB, free: 49.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04424/1.336, allocations: 16.79 MB / 0.7591 GB, free: 32.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/1.34, allocations: 1.123 MB / 0.7602 GB, free: 31.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3095/1.65, allocations: 71.12 MB / 0.8296 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008099/1.658, allocations: 0.8026 MB / 0.8304 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.659, allocations: 297.7 kB / 0.8307 GB, free: 120 MB / 474.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.004205/1.664, allocations: 2.273 MB / 0.8329 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/1.666, allocations: 0.5804 MB / 0.8335 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04837/1.714, allocations: 25.68 MB / 0.8586 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04645/1.76, allocations: 23.96 MB / 0.882 GB, free: 81.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.49e-05/1.761, allocations: 28 kB / 0.882 GB, free: 81.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/1.761, allocations: 23.91 kB / 0.882 GB, free: 81.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09716/1.858, allocations: 43.26 MB / 0.9243 GB, free: 37.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.494e-05/1.858, allocations: 4 kB / 0.9243 GB, free: 37.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.86, allocations: 439.3 kB / 0.9247 GB, free: 37.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0449/1.905, allocations: 17.12 MB / 0.9414 GB, free: 20.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0013/1.906, allocations: 83.17 kB / 0.9415 GB, free: 20.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3013/2.208, allocations: 71.84 MB / 1.012 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02126/2.229, allocations: 14.5 MB / 1.026 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0592/2.288, allocations: 33.79 MB / 1.059 GB, free: 73.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/2.29, allocations: 0.5244 MB / 1.059 GB, free: 72.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/2.291, allocations: 68 kB / 1.059 GB, free: 72.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/2.296, allocations: 0.6707 MB / 1.06 GB, free: 72.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00193/2.298, allocations: 362.5 kB / 1.06 GB, free: 71.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000456/2.298, allocations: 108 kB / 1.06 GB, free: 71.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003271/2.302, allocations: 2.774 MB / 1.063 GB, free: 68.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.302, allocations: 0 / 1.063 GB, free: 68.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0076/2.309, allocations: 2.827 MB / 1.066 GB, free: 66.15 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.0007571/2.31, allocations: 218.4 kB / 1.066 GB, free: 65.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02148/2.331, allocations: 15.08 MB / 1.081 GB, free: 50.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.331, allocations: 4 kB / 1.081 GB, free: 50.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01424/2.346, allocations: 8.194 MB / 1.089 GB, free: 42.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004996/2.351, allocations: 0.767 MB / 1.09 GB, free: 41.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02499/2.376, allocations: 17.99 MB / 1.107 GB, free: 23.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/2.38, allocations: 3.678 MB / 1.111 GB, free: 20.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003906/2.384, allocations: 1.598 MB / 1.112 GB, free: 18.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.385, allocations: 284.4 kB / 1.113 GB, free: 18.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.405e-06/2.385, allocations: 4 kB / 1.113 GB, free: 18.2 MB / 474.7 MB Notification: Performance of Templates: time 0.4298/2.815, allocations: 153.5 MB / 1.263 GB, free: 29.62 MB / 474.7 MB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.544106888002716]