Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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.001852/0.001852, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.00218/0.00218, allocations: 163.4 kB / 23.95 MB, free: 4.156 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.433/1.433, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 325.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.017e-05, allocations: 2.281 kB / 325.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01448/0.0145, allocations: 11.76 MB / 336.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.02604, allocations: 4.373 MB / 341.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.02915, allocations: 115.4 kB / 341.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008743/0.03789, allocations: 4.283 MB / 345.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.04423, allocations: 2.255 MB / 347.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.04664, allocations: 1.025 MB / 348.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009631/0.05627, allocations: 6.875 MB / 355.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006811/0.06308, allocations: 4.53 MB / 360.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006434/0.06952, allocations: 3.236 MB / 363.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.07542, allocations: 3.028 MB / 366.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.07671, allocations: 484 kB / 367 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.07962, allocations: 1.303 MB / 368.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002727/0.08235, allocations: 2.677 MB / 371 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.08494, allocations: 1.706 MB / 372.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.09582, allocations: 9.199 MB / 381.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.09583, allocations: 0 / 381.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09583, allocations: 0 / 381.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002051/0.09603, allocations: 0 / 381.9 MB, free: 12.17 MB / 350.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.01359/0.1096, allocations: 6.206 MB / 388.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1097, allocations: 15.97 kB / 388.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.1225, allocations: 2.731 MB / 390.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008853/0.1314, allocations: 3.726 MB / 394.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.1316, allocations: 304.1 kB / 394.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.1328, allocations: 428.7 kB / 395.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.153, allocations: 11.6 MB / 406.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/0.1531, allocations: 59.53 kB / 407 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/0.1536, allocations: 183.9 kB / 407.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003546/0.1572, allocations: 2.026 MB / 409.2 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.1761, allocations: 9.896 MB / 419.1 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05744/0.2335, allocations: 41.88 MB / 460.9 MB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.2452, allocations: 3.916 MB / 464.8 MB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/0.2486, allocations: 2.303 MB / 467.1 MB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1804/0.429, allocations: 9.058 MB / 476.2 MB, free: 123.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.429, allocations: 54.66 kB / 476.3 MB, free: 123.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 6.553e-06/0.4291, allocations: 3.891 kB / 476.3 MB, free: 123.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.05072/0.4798, allocations: 20.7 MB / 497 MB, free: 117.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4798, allocations: 205.4 kB / 497.2 MB, free: 117.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.4838, allocations: 4.608 MB / 0.49 GB, free: 113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.484, allocations: 57.7 kB / 0.4901 GB, free: 113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4852, allocations: 3.674 MB / 0.4937 GB, free: 109.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.4857, allocations: 0.7866 MB / 0.4944 GB, free: 108.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4869, allocations: 1.322 MB / 0.4957 GB, free: 107.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.487, allocations: 301.1 kB / 0.496 GB, free: 107.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.4894, allocations: 2.406 MB / 0.4983 GB, free: 104.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.4929, allocations: 6.296 MB / 0.5045 GB, free: 96.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.4995, allocations: 9.289 MB / 0.5136 GB, free: 85.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-05/0.4995, allocations: 40 kB / 0.5136 GB, free: 85.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0127/0.5122, allocations: 9.733 MB / 0.5231 GB, free: 75.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.5123, allocations: 71.88 kB / 0.5232 GB, free: 75.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.012e-05/0.5124, allocations: 132.8 kB / 0.5233 GB, free: 75.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003891/0.5162, allocations: 1.608 MB / 0.5249 GB, free: 73.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.5201, allocations: 1.486 MB / 0.5263 GB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009524/0.5296, allocations: 9.949 MB / 0.536 GB, free: 62.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/0.5341, allocations: 419.4 kB / 0.5364 GB, free: 61.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/0.5346, allocations: 392 kB / 0.5368 GB, free: 61.41 MB / 430.1 MB 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.002973/0.5376, allocations: 2.455 MB / 0.5392 GB, free: 58.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006635/0.5383, allocations: 385.4 kB / 0.5396 GB, free: 58.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/0.545, allocations: 4.188 MB / 0.5437 GB, free: 54.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.545, allocations: 20 kB / 0.5437 GB, free: 54.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.545, allocations: 12 kB / 0.5437 GB, free: 54.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.5451, allocations: 7.969 kB / 0.5437 GB, free: 54.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.5579, allocations: 8.439 MB / 0.552 GB, free: 45.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.5579, allocations: 6.062 kB / 0.552 GB, free: 45.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.5593, allocations: 295.5 kB / 0.5522 GB, free: 45.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/0.5629, allocations: 1.355 MB / 0.5536 GB, free: 44.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.5631, allocations: 32 kB / 0.5536 GB, free: 44.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009136/0.5722, allocations: 9.149 MB / 0.5625 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5722, allocations: 4 kB / 0.5625 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/0.5815, allocations: 6.917 MB / 0.5693 GB, free: 27.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/0.5824, allocations: 401.2 kB / 0.5697 GB, free: 27.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004797/0.5829, allocations: 35.98 kB / 0.5697 GB, free: 27.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.5848, allocations: 171.7 kB / 0.5699 GB, free: 27.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/0.5851, allocations: 133 kB / 0.57 GB, free: 27.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.5853, allocations: 48 kB / 0.57 GB, free: 27.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002964/0.5882, allocations: 2.741 MB / 0.5727 GB, free: 24.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5882, allocations: 0 / 0.5727 GB, free: 24.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004989/0.5932, allocations: 1.336 MB / 0.574 GB, free: 23.03 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * 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 (147): * Single equations (assignments): 142 * 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 {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004725/0.5937, allocations: 182.8 kB / 0.5742 GB, free: 22.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007398/0.6011, allocations: 5.723 MB / 0.5798 GB, free: 17.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6011, allocations: 0 / 0.5798 GB, free: 17.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.6036, allocations: 1.89 MB / 0.5816 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.6066, allocations: 485.5 kB / 0.5821 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.6213, allocations: 11.18 MB / 0.593 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/0.6246, allocations: 3.308 MB / 0.5962 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004491/0.6291, allocations: 1.943 MB / 0.5981 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/0.63, allocations: 256.4 kB / 0.5984 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.63, allocations: 0 / 0.5984 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Templates: time 0.2442/0.8742, allocations: 40.03 MB / 0.6375 GB, free: 155.4 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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: 6.5802074782550335]