Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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.002806/0.002806, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002893/0.002893, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 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.571/1.571, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.892e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01907/0.0191, allocations: 13.05 MB / 285.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02978, allocations: 4.454 MB / 289.7 MB, free: 260 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.03183, allocations: 115.4 kB / 289.8 MB, free: 144 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1332/0.165, allocations: 4.492 MB / 294.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006566/0.1716, allocations: 2.26 MB / 296.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.174, allocations: 1.04 MB / 297.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009279/0.1833, allocations: 6.871 MB / 304.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005287/0.1886, allocations: 4.685 MB / 309.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.1934, allocations: 3.258 MB / 312.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/0.1973, allocations: 3.136 MB / 315.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008439/0.1981, allocations: 480 kB / 316 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2003, allocations: 1.302 MB / 317.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.2021, allocations: 2.7 MB / 320 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002984/0.205, allocations: 1.726 MB / 321.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.2186, allocations: 9.216 MB / 331 MB, free: 5.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2186, allocations: 0 / 331 MB, free: 5.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2186, allocations: 0 / 331 MB, free: 5.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002766/0.2188, allocations: 0 / 331 MB, free: 5.473 MB / 282.7 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.01794/0.2368, allocations: 7.188 MB / 338.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2368, allocations: 11.98 kB / 338.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.2509, allocations: 3.221 MB / 341.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.261, allocations: 3.416 MB / 344.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.2613, allocations: 302.4 kB / 345.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/0.2638, allocations: 429.8 kB / 345.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.2831, allocations: 7.565 MB / 353.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.2832, allocations: 53.09 kB / 353.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.2837, allocations: 187.3 kB / 353.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.2878, allocations: 2.033 MB / 355.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.3018, allocations: 4.132 MB / 359.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07928/0.381, allocations: 53.29 MB / 412.8 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009966/0.391, allocations: 2.418 MB / 415.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.3931, allocations: 0.8381 MB / 416 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/0.4094, allocations: 6.398 MB / 422.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.4094, allocations: 54.39 kB / 422.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=171): time 5.671e-06/0.4094, allocations: 0 / 422.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=197): time 0.1612/0.5706, allocations: 14.67 MB / 437.2 MB, free: 114.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.5707, allocations: 204.2 kB / 437.4 MB, free: 113.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007162/0.5779, allocations: 5.082 MB / 442.4 MB, free: 113.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004107/0.5783, allocations: 56.31 kB / 442.5 MB, free: 113.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002974/0.5812, allocations: 4.115 MB / 446.6 MB, free: 110.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.5824, allocations: 0.8775 MB / 447.5 MB, free: 110.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/0.5844, allocations: 1.734 MB / 449.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.5845, allocations: 484.6 kB / 449.7 MB, free: 108.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.5866, allocations: 0.8823 MB / 450.6 MB, free: 108.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/0.59, allocations: 6.843 MB / 457.4 MB, free: 100.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/0.596, allocations: 8.503 MB / 465.9 MB, free: 91.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-05/0.5961, allocations: 41.19 kB / 466 MB, free: 91.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01189/0.608, allocations: 6.683 MB / 472.6 MB, free: 89.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.608, allocations: 65.78 kB / 472.7 MB, free: 89.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.6081, allocations: 136.7 kB / 472.8 MB, free: 89.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004436/0.6126, allocations: 1.16 MB / 474 MB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/0.6168, allocations: 1.485 MB / 475.5 MB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/0.6248, allocations: 6.891 MB / 482.4 MB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/0.6298, allocations: 419.3 kB / 482.8 MB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006236/0.6304, allocations: 388 kB / 483.2 MB, free: 80.65 MB / 378.7 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.001936/0.6324, allocations: 0.8145 MB / 484 MB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007095/0.6331, allocations: 441.4 kB / 484.4 MB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/0.6387, allocations: 2.359 MB / 486.8 MB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.6387, allocations: 20 kB / 486.8 MB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.6387, allocations: 8 kB / 486.8 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.6388, allocations: 11.97 kB / 486.8 MB, free: 76.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.6555, allocations: 7.775 MB / 494.6 MB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.6556, allocations: 0 / 494.6 MB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.657, allocations: 303.5 kB / 494.9 MB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/0.6611, allocations: 0.9125 MB / 495.8 MB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/0.6614, allocations: 33.08 kB / 495.8 MB, free: 67.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.6688, allocations: 6.099 MB / 0.4902 GB, free: 61.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6688, allocations: 4.031 kB / 0.4902 GB, free: 61.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007511/0.6763, allocations: 3.593 MB / 0.4937 GB, free: 58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.6779, allocations: 393.2 kB / 0.494 GB, free: 57.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009093/0.6788, allocations: 43.7 kB / 0.4941 GB, free: 57.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.6811, allocations: 167.7 kB / 0.4942 GB, free: 57.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/0.6815, allocations: 133 kB / 0.4944 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.6816, allocations: 48 kB / 0.4944 GB, free: 57.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003521/0.6852, allocations: 2.132 MB / 0.4965 GB, free: 55.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6852, allocations: 0 / 0.4965 GB, free: 55.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005743/0.6909, allocations: 1.328 MB / 0.4978 GB, free: 53.77 MB / 378.7 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.0005413/0.6914, allocations: 190.7 kB / 0.498 GB, free: 53.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007096/0.6985, allocations: 4.113 MB / 0.502 GB, free: 49.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.6985, allocations: 4 kB / 0.502 GB, free: 49.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.7007, allocations: 1.29 MB / 0.5033 GB, free: 48.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/0.7043, allocations: 0.4958 MB / 0.5037 GB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.7198, allocations: 9.211 MB / 0.5127 GB, free: 38.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/0.7237, allocations: 3.004 MB / 0.5157 GB, free: 35.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003702/0.7274, allocations: 1.694 MB / 0.5173 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.7282, allocations: 260.4 kB / 0.5176 GB, free: 33.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7282, allocations: 0 / 0.5176 GB, free: 33.37 MB / 378.7 MB Notification: Performance of Templates: time 0.07015/0.7984, allocations: 40.26 MB / 0.5569 GB, free: 9.691 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.837975159985945]