Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.001287/0.001287, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001357/0.001357, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2205/0.2205, allocations: 46.97 MB / 361.6 MB, free: 4.125 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.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 63.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3302, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.03155/0.3618, allocations: 26.44 MB / 0.5877 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.3799, allocations: 7.437 MB / 0.5949 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00542/0.3853, allocations: 258.8 kB / 0.5952 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01791/0.4033, allocations: 8.909 MB / 0.6039 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.4174, allocations: 5.136 MB / 0.6089 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004272/0.4216, allocations: 1.529 MB / 0.6104 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02312/0.4448, allocations: 15.31 MB / 0.6253 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01401/0.4588, allocations: 9.625 MB / 0.6347 GB, free: 9.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.4692, allocations: 5.44 MB / 0.64 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.4822, allocations: 7.812 MB / 0.6477 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004202/0.4864, allocations: 1.148 MB / 0.6488 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005899/0.4923, allocations: 1.823 MB / 0.6506 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008968/0.5013, allocations: 6.786 MB / 0.6572 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01111/0.5124, allocations: 5.517 MB / 0.6626 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03057/0.543, allocations: 23.77 MB / 0.6858 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.543, allocations: 0 / 0.6858 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.543, allocations: 0 / 0.6858 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007997/0.5438, allocations: 0 / 0.6858 GB, free: 4.742 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5230 * Number of variables: 5230 Notification: Performance of Generate backend data structure: time 0.04003/0.5838, allocations: 15.59 MB / 0.701 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.5839, allocations: 15.95 kB / 0.701 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03898/0.6229, allocations: 9.405 MB / 0.7102 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/0.6473, allocations: 8.897 MB / 0.7189 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008351/0.6481, allocations: 0.7737 MB / 0.7197 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004724/0.6529, allocations: 1.05 MB / 0.7207 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5539/1.207, allocations: 35.68 MB / 0.7555 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003299/1.207, allocations: 110.5 kB / 0.7556 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/1.209, allocations: 485.4 kB / 0.7561 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009897/1.219, allocations: 7.449 MB / 0.7634 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05605/1.275, allocations: 32.12 MB / 0.7947 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1715/1.446, allocations: 117.1 MB / 0.9091 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03859/1.485, allocations: 13.51 MB / 0.9223 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01561/1.5, allocations: 9.112 MB / 0.9312 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08291/1.583, allocations: 32.59 MB / 0.963 GB, free: 320 kB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/1.584, allocations: 102.8 kB / 0.9631 GB, free: 204 kB / 0.6388 GB Notification: Performance of pre-optimization done (n=705): time 1.664e-05/1.584, allocations: 4 kB / 0.9631 GB, free: 200 kB / 0.6388 GB Notification: Performance of matching and sorting (n=787): time 0.812/2.396, allocations: 84.16 MB / 1.045 GB, free: 210.6 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/2.396, allocations: 300.3 kB / 1.046 GB, free: 210.2 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/2.408, allocations: 10.18 MB / 1.056 GB, free: 202.1 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.001412/2.409, allocations: 133.5 kB / 1.056 GB, free: 201.9 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.004252/2.414, allocations: 9.782 MB / 1.065 GB, free: 193.9 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.003027/2.417, allocations: 2.995 MB / 1.068 GB, free: 191 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004813/2.422, allocations: 3.674 MB / 1.072 GB, free: 187.3 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/2.422, allocations: 301.1 kB / 1.072 GB, free: 187 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/2.432, allocations: 8.586 MB / 1.08 GB, free: 178.4 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/2.447, allocations: 18.04 MB / 1.098 GB, free: 155.9 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02683/2.474, allocations: 28.45 MB / 1.126 GB, free: 122.9 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003011/2.474, allocations: 92 kB / 1.126 GB, free: 122.8 MB / 0.6702 GB Notification: Performance of matching and sorting (n=2392) (initialization): time 0.0484/2.522, allocations: 29.34 MB / 1.155 GB, free: 93.46 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/2.523, allocations: 146.7 kB / 1.155 GB, free: 93.32 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004883/2.523, allocations: 320 kB / 1.155 GB, free: 93.01 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/2.533, allocations: 3.666 MB / 1.159 GB, free: 89.33 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/2.548, allocations: 4.254 MB / 1.163 GB, free: 85.07 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/2.572, allocations: 19.4 MB / 1.182 GB, free: 65.47 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01287/2.584, allocations: 1.096 MB / 1.183 GB, free: 64.38 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003133/2.588, allocations: 0.9765 MB / 1.184 GB, free: 63.4 MB / 0.6702 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1463 * Number of states: 0 () * Number of discrete variables: 97 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2196): * Single equations (assignments): 2179 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,36,77.8%), (3,36,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01244/2.6, allocations: 6.948 MB / 1.19 GB, free: 56.43 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002712/2.603, allocations: 0.9545 MB / 1.191 GB, free: 55.47 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02961/2.632, allocations: 17.14 MB / 1.208 GB, free: 38.25 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002187/2.633, allocations: 31.88 kB / 1.208 GB, free: 38.22 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/2.633, allocations: 0 / 1.208 GB, free: 38.22 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003978/2.637, allocations: 0.845 MB / 1.209 GB, free: 37.37 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003812/2.64, allocations: 115.9 kB / 1.209 GB, free: 37.26 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006326/2.647, allocations: 0.5457 MB / 1.21 GB, free: 36.71 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/2.649, allocations: 471.9 kB / 1.21 GB, free: 36.25 MB / 0.6702 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03248/2.681, allocations: 17.2 MB / 1.227 GB, free: 19.12 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3814/3.063, allocations: 24.18 MB / 1.25 GB, free: 206.4 MB / 0.6702 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007375/3.07, allocations: 6.312 MB / 1.257 GB, free: 204.2 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.008127/3.078, allocations: 5.875 MB / 1.262 GB, free: 202.3 MB / 0.6702 GB Notification: Performance of Backend: time 6.51e-07/3.078, allocations: 0 / 1.262 GB, free: 202.3 MB / 0.6702 GB Notification: Performance of simCode: created initialization part: time 0.02566/3.104, allocations: 13.53 MB / 1.276 GB, free: 197.6 MB / 0.6702 GB Notification: Performance of SimCode: time 0.04754/3.151, allocations: 30.01 MB / 1.305 GB, free: 178.7 MB / 0.6702 GB Notification: Performance of Templates: time 0.2328/3.384, allocations: 163.8 MB / 1.465 GB, free: 20.6 MB / 0.6702 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.301194908002799]