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.001761/0.001761, allocations: 89.17 kB / 21.44 MB, free: 276 kB / 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.002264/0.002264, allocations: 164.4 kB / 24.71 MB, free: 3.527 MB / 14.72 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.379/1.379, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 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 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.807e-05/3.964e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01682/0.01686, allocations: 12.42 MB / 311.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.02885, allocations: 4.467 MB / 315.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.03206, allocations: 111.4 kB / 315.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009347/0.0414, allocations: 4.326 MB / 320.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.04873, allocations: 2.403 MB / 322.7 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1905/0.2392, allocations: 1.024 MB / 323.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01105/0.2502, allocations: 6.567 MB / 330.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.261, allocations: 4.652 MB / 334.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01213/0.2732, allocations: 3.371 MB / 338.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007774/0.281, allocations: 3.175 MB / 341.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.283, allocations: 0.4935 MB / 342 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.2867, allocations: 1.341 MB / 343.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.2897, allocations: 2.828 MB / 346.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002624/0.2924, allocations: 1.806 MB / 347.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.3015, allocations: 9.737 MB / 357.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3015, allocations: 0 / 357.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3015, allocations: 0 / 357.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002686/0.3018, allocations: 0 / 357.7 MB, free: 1.559 MB / 302.1 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.01739/0.3192, allocations: 6.491 MB / 364.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3192, allocations: 11.98 kB / 364.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.3324, allocations: 2.779 MB / 366.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.3425, allocations: 3.922 MB / 370.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.3428, allocations: 311.2 kB / 371.2 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.3446, allocations: 448.6 kB / 371.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.3699, allocations: 12.29 MB / 383.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.3701, allocations: 62.95 kB / 384 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006488/0.3708, allocations: 192.6 kB / 384.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003977/0.3747, allocations: 2.202 MB / 386.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/0.3986, allocations: 10.47 MB / 396.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07552/0.4742, allocations: 43.72 MB / 440.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.4872, allocations: 4.135 MB / 444.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/0.4915, allocations: 2.455 MB / 447.1 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.513, allocations: 9.65 MB / 456.8 MB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/0.5131, allocations: 51.88 kB / 456.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=192): time 5.941e-06/0.5131, allocations: 0 / 456.8 MB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.07131/0.5844, allocations: 21.8 MB / 478.6 MB, free: 8.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.5846, allocations: 204.7 kB / 478.8 MB, free: 7.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009401/0.594, allocations: 4.794 MB / 483.6 MB, free: 3.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/0.5945, allocations: 57.7 kB / 483.7 MB, free: 3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1566/0.7511, allocations: 3.838 MB / 487.5 MB, free: 140 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.7523, allocations: 0.865 MB / 488.4 MB, free: 140 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001963/0.7543, allocations: 1.381 MB / 489.8 MB, free: 139.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.7543, allocations: 303.2 kB / 490.1 MB, free: 139.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/0.7582, allocations: 2.573 MB / 492.6 MB, free: 138.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006534/0.7648, allocations: 6.609 MB / 499.2 MB, free: 132.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/0.7768, allocations: 9.799 MB / 0.4971 GB, free: 124.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003909/0.7772, allocations: 38 kB / 0.4972 GB, free: 124.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01757/0.7947, allocations: 10.22 MB / 0.5071 GB, free: 120.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7948, allocations: 69.03 kB / 0.5072 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/0.795, allocations: 141.5 kB / 0.5073 GB, free: 120.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/0.7993, allocations: 1.61 MB / 0.5089 GB, free: 120.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/0.8043, allocations: 1.564 MB / 0.5104 GB, free: 120.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.8147, allocations: 9.944 MB / 0.5201 GB, free: 111.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/0.8204, allocations: 457.4 kB / 0.5206 GB, free: 110.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.8215, allocations: 406.4 kB / 0.521 GB, free: 110.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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.003744/0.8252, allocations: 2.58 MB / 0.5235 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008015/0.826, allocations: 405.3 kB / 0.5239 GB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0074/0.8334, allocations: 4.558 MB / 0.5283 GB, free: 103.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/0.8335, allocations: 24 kB / 0.5283 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.8335, allocations: 8.875 kB / 0.5284 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.8335, allocations: 11.95 kB / 0.5284 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.8485, allocations: 9.149 MB / 0.5373 GB, free: 93.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8485, allocations: 7.828 kB / 0.5373 GB, free: 93.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.8502, allocations: 343.5 kB / 0.5376 GB, free: 93.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/0.8541, allocations: 1.355 MB / 0.539 GB, free: 92.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.8544, allocations: 35.98 kB / 0.539 GB, free: 92.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009795/0.8642, allocations: 9.153 MB / 0.5479 GB, free: 82.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8642, allocations: 4.125 kB / 0.5479 GB, free: 82.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.8746, allocations: 7.512 MB / 0.5553 GB, free: 75.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/0.8767, allocations: 0.7439 MB / 0.556 GB, free: 74.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/0.8773, allocations: 39.66 kB / 0.556 GB, free: 74.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.8794, allocations: 195.7 kB / 0.5562 GB, free: 74.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/0.8798, allocations: 141.7 kB / 0.5564 GB, free: 74.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.88, allocations: 63.98 kB / 0.5564 GB, free: 74.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003877/0.8838, allocations: 2.856 MB / 0.5592 GB, free: 71.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8838, allocations: 4 kB / 0.5592 GB, free: 71.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007033/0.8909, allocations: 1.417 MB / 0.5606 GB, free: 69.91 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 (169): * Single equations (assignments): 164 * 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.0006034/0.8915, allocations: 198.6 kB / 0.5608 GB, free: 69.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009196/0.9007, allocations: 6.128 MB / 0.5668 GB, free: 63.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9007, allocations: 0 / 0.5668 GB, free: 63.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.9035, allocations: 2.052 MB / 0.5688 GB, free: 61.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/0.9067, allocations: 491.5 kB / 0.5692 GB, free: 61.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.9244, allocations: 11.87 MB / 0.5808 GB, free: 49.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/0.9277, allocations: 3.487 MB / 0.5842 GB, free: 45.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004096/0.9318, allocations: 2.056 MB / 0.5863 GB, free: 43.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009946/0.9328, allocations: 276.4 kB / 0.5865 GB, free: 43.32 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.9328, allocations: 0 / 0.5865 GB, free: 43.32 MB / 430.1 MB Notification: Performance of Templates: time 0.07042/1.003, allocations: 42.11 MB / 0.6276 GB, free: 1.172 MB / 430.1 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.0007663667202]