Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.00168/0.00168, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001424/0.001424, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.405/1.405, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2242/0.2242, allocations: 46.9 MB / 361.1 MB, free: 4.617 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3183, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01598/0.3343, allocations: 13.59 MB / 0.5745 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.3442, allocations: 4.591 MB / 0.579 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.3466, allocations: 87.75 kB / 0.5791 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007878/0.3545, allocations: 4.241 MB / 0.5832 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.3603, allocations: 2.194 MB / 0.5853 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3623, allocations: 0.9242 MB / 0.5862 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008661/0.371, allocations: 6.124 MB / 0.5922 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005227/0.3762, allocations: 3.743 MB / 0.5959 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.3798, allocations: 2.13 MB / 0.598 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004871/0.3847, allocations: 3.007 MB / 0.6009 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.3862, allocations: 468 kB / 0.6013 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.3896, allocations: 1.385 MB / 0.6027 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003207/0.3928, allocations: 2.563 MB / 0.6052 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.3967, allocations: 2.836 MB / 0.608 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.4086, allocations: 9.059 MB / 0.6168 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4086, allocations: 8 kB / 0.6168 GB, free: 11.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4086, allocations: 0 / 0.6168 GB, free: 11.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002805/0.4089, allocations: 0 / 0.6168 GB, free: 11.83 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.01482/0.4237, allocations: 6.23 MB / 0.6229 GB, free: 5.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4238, allocations: 12.03 kB / 0.6229 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.4362, allocations: 2.61 MB / 0.6255 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009864/0.4461, allocations: 3.826 MB / 0.6292 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.4464, allocations: 304.1 kB / 0.6295 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.4479, allocations: 427.9 kB / 0.6299 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.4712, allocations: 11.54 MB / 0.6412 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.4714, allocations: 63.52 kB / 0.6412 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005415/0.4719, allocations: 187.9 kB / 0.6414 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003641/0.4756, allocations: 2.022 MB / 0.6434 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.4963, allocations: 9.936 MB / 0.6531 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06256/0.5588, allocations: 45.43 MB / 0.6975 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.5704, allocations: 4.228 MB / 0.7016 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/0.5739, allocations: 2.299 MB / 0.7038 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01795/0.5918, allocations: 9.861 MB / 0.7135 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.5919, allocations: 55.5 kB / 0.7135 GB, free: 6.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=171): time 5.19e-06/0.5919, allocations: 4 kB / 0.7135 GB, free: 6.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=197): time 0.05756/0.6495, allocations: 20.16 MB / 0.7332 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6496, allocations: 197.2 kB / 0.7334 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2557/0.9052, allocations: 4.7 MB / 0.738 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/0.9056, allocations: 54.16 kB / 0.738 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.9072, allocations: 3.701 MB / 0.7416 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/0.9077, allocations: 0.7926 MB / 0.7424 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.909, allocations: 1.345 MB / 0.7437 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.9091, allocations: 305.1 kB / 0.744 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/0.9117, allocations: 2.403 MB / 0.7464 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.9155, allocations: 6.248 MB / 0.7525 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007066/0.9226, allocations: 9.289 MB / 0.7615 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.884e-05/0.9226, allocations: 39.59 kB / 0.7616 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01337/0.936, allocations: 9.785 MB / 0.7711 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.9361, allocations: 60 kB / 0.7712 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.044e-05/0.9361, allocations: 136 kB / 0.7713 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/0.9399, allocations: 1.612 MB / 0.7729 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/0.944, allocations: 1.478 MB / 0.7743 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009896/0.9539, allocations: 10.26 MB / 0.7844 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/0.9587, allocations: 363.8 kB / 0.7847 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006222/0.9593, allocations: 387.7 kB / 0.7851 GB, free: 115.5 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.002824/0.9621, allocations: 2.467 MB / 0.7875 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/0.9627, allocations: 437.1 kB / 0.7879 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.9693, allocations: 4.208 MB / 0.792 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.9693, allocations: 7.969 kB / 0.792 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9693, allocations: 0 / 0.792 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.9703, allocations: 482.1 kB / 0.7925 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/0.9707, allocations: 39.92 kB / 0.7925 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.9723, allocations: 111.8 kB / 0.7926 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.9725, allocations: 137.1 kB / 0.7928 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007389/0.9799, allocations: 4.647 MB / 0.7973 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005654/0.9856, allocations: 5.748 MB / 0.8029 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001415/0.987, allocations: 1.396 MB / 0.8043 GB, free: 95.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003413/0.9904, allocations: 2.956 MB / 0.8072 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of Backend: time 2.31e-07/0.9904, allocations: 0 / 0.8072 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008114/0.9985, allocations: 4.636 MB / 0.8117 GB, free: 88.26 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01361/1.012, allocations: 11.32 MB / 0.8227 GB, free: 76.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07851/1.091, allocations: 56.08 MB / 0.8775 GB, free: 21.07 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.081833499018103]