Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.001851/0.001851, allocations: 110.4 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.002297/0.002297, allocations: 204.7 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2534/0.2534, allocations: 46.96 MB / 361.6 MB, free: 4.129 MB / 286.1 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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2954, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01533/0.3107, allocations: 11.79 MB / 0.5733 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.3208, allocations: 4.365 MB / 0.5776 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.3229, allocations: 111.4 kB / 0.5777 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008162/0.3311, allocations: 4.066 MB / 0.5817 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.3368, allocations: 2.191 MB / 0.5838 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.3389, allocations: 0.9437 MB / 0.5847 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008567/0.3474, allocations: 6.129 MB / 0.5907 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005135/0.3526, allocations: 4.026 MB / 0.5947 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.3559, allocations: 2.154 MB / 0.5968 GB, free: 228 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/0.3609, allocations: 3.018 MB / 0.5997 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.3624, allocations: 468 kB / 0.6002 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.3653, allocations: 1.256 MB / 0.6014 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.3681, allocations: 2.563 MB / 0.6039 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.3711, allocations: 2.133 MB / 0.606 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.3826, allocations: 9.103 MB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3826, allocations: 0 / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3826, allocations: 0 / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.3829, allocations: 4 kB / 0.6149 GB, free: 13.62 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.0149/0.3978, allocations: 6.155 MB / 0.6209 GB, free: 7.402 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3978, allocations: 8.031 kB / 0.6209 GB, free: 7.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.4101, allocations: 2.622 MB / 0.6234 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009841/0.4199, allocations: 3.738 MB / 0.6271 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.4202, allocations: 300.1 kB / 0.6274 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.4216, allocations: 431.9 kB / 0.6278 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.4439, allocations: 11.63 MB / 0.6391 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.4441, allocations: 55.53 kB / 0.6392 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005689/0.4447, allocations: 191.8 kB / 0.6394 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.4483, allocations: 2.018 MB / 0.6413 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/0.469, allocations: 9.916 MB / 0.651 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06206/0.5311, allocations: 41.53 MB / 0.6916 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.5428, allocations: 3.76 MB / 0.6953 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/0.5467, allocations: 2.304 MB / 0.6975 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.5649, allocations: 8.761 MB / 0.7061 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/0.5649, allocations: 55.48 kB / 0.7061 GB, free: 14.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 5.28e-06/0.565, allocations: 4 kB / 0.7061 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=197): time 0.05789/0.6228, allocations: 20 MB / 0.7257 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.623, allocations: 201.2 kB / 0.7258 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/0.6297, allocations: 4.434 MB / 0.7302 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.6301, allocations: 53.7 kB / 0.7302 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/0.6333, allocations: 3.717 MB / 0.7339 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.6344, allocations: 0.7947 MB / 0.7346 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2562/0.8906, allocations: 1.339 MB / 0.7359 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.8907, allocations: 308.2 kB / 0.7362 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/0.8949, allocations: 2.403 MB / 0.7386 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004905/0.8998, allocations: 6.304 MB / 0.7447 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008424/0.9083, allocations: 9.296 MB / 0.7538 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/0.9084, allocations: 36.38 kB / 0.7538 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0152/0.9236, allocations: 9.732 MB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.9237, allocations: 67.94 kB / 0.7634 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.9238, allocations: 132 kB / 0.7635 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/0.9278, allocations: 1.612 MB / 0.7651 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004284/0.9321, allocations: 1.484 MB / 0.7666 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009991/0.9421, allocations: 9.886 MB / 0.7762 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/0.9464, allocations: 362.2 kB / 0.7766 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/0.947, allocations: 392 kB / 0.7769 GB, free: 121.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (793): * Single equations (assignments): 788 * Array equations: 3 * 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,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.9499, allocations: 2.466 MB / 0.7793 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/0.9504, allocations: 384.7 kB / 0.7797 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/0.9569, allocations: 4.183 MB / 0.7838 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.9569, allocations: 7.969 kB / 0.7838 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9569, allocations: 0 / 0.7838 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/0.9577, allocations: 351.1 kB / 0.7841 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/0.9583, allocations: 35.98 kB / 0.7842 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.9597, allocations: 115.8 kB / 0.7843 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.96, allocations: 148.9 kB / 0.7844 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006868/0.9668, allocations: 4.62 MB / 0.7889 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005893/0.9727, allocations: 5.706 MB / 0.7945 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001461/0.9742, allocations: 1.392 MB / 0.7959 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003361/0.9775, allocations: 2.62 MB / 0.7984 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/0.9775, allocations: 0 / 0.7984 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008882/0.9864, allocations: 4.639 MB / 0.803 GB, free: 95.36 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01605/1.002, allocations: 11.18 MB / 0.8139 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.08062/1.083, allocations: 58.82 MB / 0.8713 GB, free: 25.93 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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: 7.497529929001757]