Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001751/0.001751, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001538/0.001538, allocations: 165 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.114e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01738/0.01741, allocations: 12.42 MB / 262.8 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.02993, allocations: 4.471 MB / 267.2 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.03307, allocations: 111.4 kB / 267.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.04347, allocations: 4.396 MB / 271.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008568/0.05204, allocations: 2.406 MB / 274.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.0554, allocations: 1.033 MB / 275.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01283/0.06823, allocations: 6.593 MB / 281.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008519/0.07675, allocations: 4.778 MB / 286.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008887/0.08564, allocations: 3.368 MB / 289.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006673/0.09231, allocations: 3.18 MB / 293.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.09414, allocations: 0.5 MB / 293.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.09797, allocations: 1.346 MB / 295 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004242/0.1022, allocations: 2.836 MB / 297.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004241/0.1064, allocations: 1.815 MB / 299.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1674/0.2739, allocations: 9.772 MB / 309.4 MB, free: 30.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2739, allocations: 0 / 309.4 MB, free: 30.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2739, allocations: 0 / 309.4 MB, free: 30.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004016/0.2743, allocations: 0 / 309.4 MB, free: 30.75 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02292/0.2972, allocations: 6.521 MB / 315.9 MB, free: 28.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2973, allocations: 12.39 kB / 315.9 MB, free: 28.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.3116, allocations: 3.377 MB / 319.3 MB, free: 27.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009987/0.3216, allocations: 3.939 MB / 323.2 MB, free: 26.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.3219, allocations: 311.3 kB / 323.5 MB, free: 26.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.324, allocations: 448.9 kB / 324 MB, free: 26.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.3462, allocations: 12.4 MB / 336.4 MB, free: 19.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.3464, allocations: 50.16 kB / 336.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005963/0.347, allocations: 198.5 kB / 336.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003076/0.3501, allocations: 2.212 MB / 338.8 MB, free: 17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.3702, allocations: 10.57 MB / 349.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07637/0.4466, allocations: 44.03 MB / 393.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.4595, allocations: 4.016 MB / 397.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005931/0.4654, allocations: 2.497 MB / 399.9 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02229/0.4877, allocations: 9.838 MB / 409.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.816e-05/0.4878, allocations: 55.34 kB / 409.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=193): time 7.313e-06/0.4878, allocations: 3.984 kB / 409.8 MB, free: 9.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=219): time 0.2099/0.6977, allocations: 29.4 MB / 439.2 MB, free: 125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.6978, allocations: 203.2 kB / 439.4 MB, free: 124.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/0.7042, allocations: 4.77 MB / 444.2 MB, free: 123.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005866/0.7048, allocations: 53.55 kB / 444.3 MB, free: 123.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.7066, allocations: 3.834 MB / 448.1 MB, free: 120.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000977/0.7076, allocations: 0.8688 MB / 449 MB, free: 120.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/0.7093, allocations: 1.378 MB / 450.3 MB, free: 119.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.7094, allocations: 301.1 kB / 450.6 MB, free: 119.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/0.713, allocations: 2.812 MB / 453.4 MB, free: 118.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/0.7181, allocations: 6.804 MB / 460.2 MB, free: 112 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009173/0.7273, allocations: 10.23 MB / 470.5 MB, free: 100.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.7274, allocations: 40 kB / 470.5 MB, free: 100.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.0198/0.7472, allocations: 11.7 MB / 482.2 MB, free: 89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.7472, allocations: 64 kB / 482.3 MB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.7474, allocations: 143.2 kB / 482.4 MB, free: 88.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007748/0.7551, allocations: 2.739 MB / 485.2 MB, free: 86.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/0.7604, allocations: 1.657 MB / 486.8 MB, free: 84.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.7745, allocations: 12.5 MB / 499.3 MB, free: 71.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006105/0.7806, allocations: 491.2 kB / 499.8 MB, free: 71.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/0.7818, allocations: 412 kB / 0.4885 GB, free: 70.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 45 (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 (827): * Single equations (assignments): 822 * 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,33,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005208/0.787, allocations: 2.56 MB / 0.491 GB, free: 68.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/0.7884, allocations: 465.3 kB / 0.4914 GB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.7991, allocations: 5.784 MB / 0.4971 GB, free: 61.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.7992, allocations: 24.62 kB / 0.4971 GB, free: 61.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.7992, allocations: 8.875 kB / 0.4971 GB, free: 61.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.7992, allocations: 11.95 kB / 0.4971 GB, free: 61.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/0.8209, allocations: 11.14 MB / 0.508 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.821, allocations: 0 / 0.508 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/0.823, allocations: 455.3 kB / 0.5084 GB, free: 50.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007138/0.8301, allocations: 2.484 MB / 0.5108 GB, free: 47.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/0.8304, allocations: 32 kB / 0.5109 GB, free: 47.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.8432, allocations: 11.67 MB / 0.5223 GB, free: 35.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8432, allocations: 0 / 0.5223 GB, free: 35.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.8566, allocations: 9.172 MB / 0.5312 GB, free: 26.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/0.8587, allocations: 0.79 MB / 0.532 GB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009905/0.8597, allocations: 36 kB / 0.532 GB, free: 25.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/0.8622, allocations: 235.5 kB / 0.5323 GB, free: 25.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004776/0.8627, allocations: 141.7 kB / 0.5324 GB, free: 25.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/0.8629, allocations: 59.19 kB / 0.5325 GB, free: 25.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003638/0.8665, allocations: 2.848 MB / 0.5352 GB, free: 22.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8665, allocations: 0 / 0.5352 GB, free: 22.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005941/0.8724, allocations: 1.465 MB / 0.5367 GB, free: 21.2 MB / 362.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 (168): * Single equations (assignments): 163 * 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,29,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.0005458/0.873, allocations: 189.9 kB / 0.5368 GB, free: 21.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009394/0.8824, allocations: 6.739 MB / 0.5434 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.8824, allocations: 0 / 0.5434 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/0.8859, allocations: 2.437 MB / 0.5458 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.8891, allocations: 0.5126 MB / 0.5463 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1561/1.045, allocations: 12.22 MB / 0.5582 GB, free: 107.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006288/1.052, allocations: 3.488 MB / 0.5616 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005242/1.057, allocations: 2.043 MB / 0.5636 GB, free: 107.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009807/1.058, allocations: 278.8 kB / 0.5639 GB, free: 107.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.054e-06/1.058, allocations: 0 / 0.5639 GB, free: 107.1 MB / 362.7 MB Notification: Performance of Templates: time 0.07736/1.135, allocations: 46.9 MB / 0.6097 GB, free: 71.9 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.158276836038567]