Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001983/0.001983, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002401/0.002401, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.9 MB / 361.3 MB, free: 4.438 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 79.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4176, allocations: 66.04 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02167/0.4393, allocations: 16.9 MB / 0.5781 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4537, allocations: 5.522 MB / 0.5835 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.4577, allocations: 163.1 kB / 0.5836 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009738/0.4675, allocations: 4.716 MB / 0.5882 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.4754, allocations: 2.498 MB / 0.5907 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.4788, allocations: 1.31 MB / 0.5919 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.4931, allocations: 8.658 MB / 0.6004 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006404/0.4995, allocations: 4.007 MB / 0.6043 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005632/0.5051, allocations: 2.625 MB / 0.6069 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006615/0.5117, allocations: 3.439 MB / 0.6102 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.5136, allocations: 0.4922 MB / 0.6107 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.517, allocations: 1.292 MB / 0.612 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.5211, allocations: 2.914 MB / 0.6148 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00569/0.5268, allocations: 3.042 MB / 0.6178 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.5405, allocations: 9.169 MB / 0.6267 GB, free: 1.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5405, allocations: 0 / 0.6267 GB, free: 1.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.5405, allocations: 4 kB / 0.6267 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003533/0.5409, allocations: 4 kB / 0.6268 GB, free: 1.582 MB / 462.1 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.02303/0.5639, allocations: 7.277 MB / 0.6339 GB, free: 10.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.564, allocations: 12.03 kB / 0.6339 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.5766, allocations: 1.979 MB / 0.6358 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.5921, allocations: 5.451 MB / 0.6411 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.5926, allocations: 333.6 kB / 0.6414 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/0.5944, allocations: 411.8 kB / 0.6418 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/0.6208, allocations: 11.01 MB / 0.6526 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/0.621, allocations: 67.58 kB / 0.6527 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005875/0.6216, allocations: 179.8 kB / 0.6528 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/0.6252, allocations: 1.725 MB / 0.6545 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03082/0.6561, allocations: 9.543 MB / 0.6638 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09856/0.7546, allocations: 45.19 MB / 0.708 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02403/0.7786, allocations: 7.615 MB / 0.7154 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007867/0.7865, allocations: 5.036 MB / 0.7203 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0272/0.8137, allocations: 12.43 MB / 0.7325 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.994e-05/0.8138, allocations: 64.78 kB / 0.7325 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 4.358e-06/0.8138, allocations: 0 / 0.7325 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.574/1.388, allocations: 77.64 MB / 0.8083 GB, free: 96.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01396/1.402, allocations: 10.99 MB / 0.8191 GB, free: 85.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/1.408, allocations: 4.302 MB / 0.8233 GB, free: 81.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001457/1.409, allocations: 89.7 kB / 0.8234 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.411, allocations: 2.948 MB / 0.8262 GB, free: 78.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.413, allocations: 1.486 MB / 0.8277 GB, free: 77.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/1.415, allocations: 1.285 MB / 0.8289 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/1.415, allocations: 301.1 kB / 0.8292 GB, free: 75.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00576/1.421, allocations: 5.088 MB / 0.8342 GB, free: 70.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007002/1.428, allocations: 7.152 MB / 0.8412 GB, free: 62.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/1.443, allocations: 12.84 MB / 0.8537 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-05/1.444, allocations: 23.94 kB / 0.8537 GB, free: 48.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04088/1.484, allocations: 20.87 MB / 0.8741 GB, free: 27.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/1.484, allocations: 36 kB / 0.8742 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-05/1.485, allocations: 64 kB / 0.8742 GB, free: 27.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0262/1.511, allocations: 9.726 MB / 0.8837 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/1.515, allocations: 1.135 MB / 0.8848 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08607/1.601, allocations: 56.77 MB / 0.9403 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.608, allocations: 0.5305 MB / 0.9408 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.609, allocations: 297.3 kB / 0.9411 GB, free: 7.039 MB / 0.6075 GB 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.004874/1.614, allocations: 2.273 MB / 0.9433 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.615, allocations: 488.8 kB / 0.9438 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04643/1.662, allocations: 19.28 MB / 0.9626 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3663/2.028, allocations: 17.78 MB / 0.98 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001185/2.028, allocations: 27.53 kB / 0.98 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/2.028, allocations: 19.92 kB / 0.98 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06517/2.094, allocations: 36.21 MB / 1.015 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/2.094, allocations: 4 kB / 1.015 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/2.096, allocations: 459.2 kB / 1.016 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02592/2.122, allocations: 9.589 MB / 1.025 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/2.123, allocations: 79.05 kB / 1.025 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06484/2.188, allocations: 55.3 MB / 1.079 GB, free: 135.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01252/2.201, allocations: 9.708 MB / 1.089 GB, free: 125.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04287/2.244, allocations: 25.79 MB / 1.114 GB, free: 99.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/2.245, allocations: 485.6 kB / 1.114 GB, free: 99.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/2.248, allocations: 72 kB / 1.114 GB, free: 99.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005334/2.253, allocations: 417.9 kB / 1.115 GB, free: 99.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00204/2.255, allocations: 342.4 kB / 1.115 GB, free: 98.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005029/2.256, allocations: 100 kB / 1.115 GB, free: 98.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004535/2.26, allocations: 2.793 MB / 1.118 GB, free: 95.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/2.26, allocations: 7.938 kB / 1.118 GB, free: 95.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00894/2.269, allocations: 2.105 MB / 1.12 GB, free: 93.68 MB / 0.6387 GB 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.001132/2.27, allocations: 192.8 kB / 1.12 GB, free: 93.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01904/2.289, allocations: 12.81 MB / 1.133 GB, free: 80.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.289, allocations: 0 / 1.133 GB, free: 80.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01273/2.302, allocations: 6.867 MB / 1.139 GB, free: 73.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/2.309, allocations: 0.7744 MB / 1.14 GB, free: 72.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/2.334, allocations: 16.74 MB / 1.157 GB, free: 56.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/2.339, allocations: 4.147 MB / 1.161 GB, free: 51.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003902/2.343, allocations: 1.601 MB / 1.162 GB, free: 50.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/2.345, allocations: 303.3 kB / 1.162 GB, free: 50.06 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/2.345, allocations: 0 / 1.162 GB, free: 50.06 MB / 0.6387 GB Notification: Performance of Templates: time 0.5037/2.848, allocations: 131.4 MB / 1.291 GB, free: 173.8 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.892365365289152] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w', 'revolute4.phi', 'revolute4.w'] 2.8586690071970224 2.873611619 2.329620094 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff3031317b0>