Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.001684/0.001684, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002089/0.002089, allocations: 217.1 kB / 24.49 MB, free: 3.93 MB / 14.72 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 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.2388/0.2388, allocations: 46.98 MB / 361.6 MB, free: 4.023 MB / 286.1 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.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01899/0.3367, allocations: 14.47 MB / 0.576 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3488, allocations: 5.159 MB / 0.581 GB, free: 468 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.352, allocations: 143.2 kB / 0.5811 GB, free: 324 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.3628, allocations: 5.105 MB / 0.5861 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008077/0.3708, allocations: 2.638 MB / 0.5887 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.374, allocations: 1.229 MB / 0.5899 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.3868, allocations: 8.275 MB / 0.598 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007769/0.3946, allocations: 5.142 MB / 0.603 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005477/0.4001, allocations: 2.754 MB / 0.6057 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0066/0.4067, allocations: 3.856 MB / 0.6095 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.4087, allocations: 0.5859 MB / 0.61 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.4121, allocations: 1.377 MB / 0.6114 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004231/0.4164, allocations: 3.268 MB / 0.6146 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.4213, allocations: 2.711 MB / 0.6172 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.4357, allocations: 11.23 MB / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4357, allocations: 0 / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4357, allocations: 4 kB / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003155/0.4361, allocations: 0 / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2120 * Number of variables: 2120 Notification: Performance of Generate backend data structure: time 0.02184/0.4579, allocations: 8.044 MB / 0.636 GB, free: 7.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.458, allocations: 8.031 kB / 0.636 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0373/0.4953, allocations: 4.174 MB / 0.6401 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.5098, allocations: 4.893 MB / 0.6449 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.5102, allocations: 369.9 kB / 0.6453 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.5123, allocations: 0.5154 MB / 0.6458 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03307/0.5454, allocations: 15.33 MB / 0.6607 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.5456, allocations: 67.52 kB / 0.6608 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008452/0.5464, allocations: 231.8 kB / 0.661 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005505/0.5519, allocations: 2.731 MB / 0.6637 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.5815, allocations: 13.64 MB / 0.677 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09064/0.6721, allocations: 56 MB / 0.7317 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2824/0.9544, allocations: 6.321 MB / 0.7379 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/0.9596, allocations: 5.061 MB / 0.7428 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02368/0.9833, allocations: 16.13 MB / 0.7586 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.9834, allocations: 64.41 kB / 0.7586 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 7.684e-06/0.9834, allocations: 0 / 0.7586 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.1541/1.137, allocations: 60.15 MB / 0.8174 GB, free: 84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.138, allocations: 321.3 kB / 0.8177 GB, free: 83.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007732/1.145, allocations: 5.499 MB / 0.823 GB, free: 78.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.146, allocations: 81.7 kB / 0.8231 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.148, allocations: 4.378 MB / 0.8274 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.15, allocations: 1.469 MB / 0.8288 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00247/1.152, allocations: 1.797 MB / 0.8306 GB, free: 70.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/1.152, allocations: 301.1 kB / 0.8309 GB, free: 70.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/1.158, allocations: 5.209 MB / 0.836 GB, free: 65.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008333/1.167, allocations: 9.688 MB / 0.8454 GB, free: 53.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/1.183, allocations: 15.64 MB / 0.8607 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/1.183, allocations: 40 kB / 0.8607 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1120) (initialization): time 0.03417/1.217, allocations: 19.46 MB / 0.8797 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/1.218, allocations: 68 kB / 0.8798 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.218, allocations: 148 kB / 0.8799 GB, free: 16.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/1.232, allocations: 5.431 MB / 0.8852 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008092/1.24, allocations: 2.02 MB / 0.8872 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04162/1.282, allocations: 28.51 MB / 0.9151 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008897/1.291, allocations: 0.6204 MB / 0.9157 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.293, allocations: 495.9 kB / 0.9161 GB, free: 10.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * Number of states: 0 () * Number of discrete variables: 59 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1017): * Single equations (assignments): 1011 * Array equations: 3 * 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): 3 systems {(2,16,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006983/1.3, allocations: 3.051 MB / 0.9191 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.302, allocations: 0.5084 MB / 0.9196 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03005/1.332, allocations: 13.98 MB / 0.9333 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.303e-05/1.332, allocations: 19.94 kB / 0.9333 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.332, allocations: 4 kB / 0.9333 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.334, allocations: 0.5081 MB / 0.9338 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.335, allocations: 57.88 kB / 0.9338 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004012/1.339, allocations: 366.8 kB / 0.9342 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.34, allocations: 321.9 kB / 0.9345 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03158/1.372, allocations: 13.48 MB / 0.9477 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02674/1.399, allocations: 15.95 MB / 0.9632 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007036/1.406, allocations: 4.199 MB / 0.9673 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00611/1.412, allocations: 3.324 MB / 0.9706 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of Backend: time 3.01e-07/1.412, allocations: 3.938 kB / 0.9706 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3015/1.713, allocations: 8.963 MB / 0.9793 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of SimCode: time 0.02207/1.735, allocations: 14.91 MB / 0.9939 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.142/1.878, allocations: 117 MB / 1.108 GB, free: 120.3 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.408309821999865] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 1.8864618679945124 1.895046596 1.4567892980000001 Calling exit ...