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.002719/0.002719, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.003162/0.003162, allocations: 166.3 kB / 25.03 MB, free: 8.941 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.328/1.328, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.994e-06/1.994e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.196e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01912/0.01915, allocations: 13.79 MB / 264.2 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.03111, allocations: 4.564 MB / 268.7 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.03413, allocations: 111.4 kB / 268.8 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.04415, allocations: 4.548 MB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007286/0.05144, allocations: 2.41 MB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.05393, allocations: 1.029 MB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.06437, allocations: 6.585 MB / 283.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007347/0.07172, allocations: 4.785 MB / 288.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007384/0.0791, allocations: 3.403 MB / 291.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005808/0.08491, allocations: 3.277 MB / 294.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.08609, allocations: 0.4961 MB / 295.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.0892, allocations: 1.334 MB / 296.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003435/0.09263, allocations: 2.852 MB / 299.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003137/0.09577, allocations: 1.819 MB / 301.4 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.11, allocations: 9.763 MB / 311.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.11, allocations: 4 kB / 311.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.11, allocations: 3.938 kB / 311.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003411/0.1104, allocations: 0 / 311.1 MB, free: 10.8 MB / 298.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.01992/0.1303, allocations: 7.517 MB / 318.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1303, allocations: 11.98 kB / 318.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.1445, allocations: 3.305 MB / 322 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.1551, allocations: 3.541 MB / 325.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.1555, allocations: 312.5 kB / 325.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.1573, allocations: 448.7 kB / 326.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.1784, allocations: 7.919 MB / 334.2 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/0.1786, allocations: 55.59 kB / 334.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/0.1793, allocations: 199.8 kB / 334.4 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004325/0.1836, allocations: 2.202 MB / 336.6 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.1998, allocations: 4.374 MB / 341 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1842/0.384, allocations: 55.92 MB / 396.9 MB, free: 52.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009332/0.3933, allocations: 2.527 MB / 399.5 MB, free: 51.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.3954, allocations: 0.9152 MB / 400.4 MB, free: 51.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.4108, allocations: 6.769 MB / 407.1 MB, free: 45.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.4108, allocations: 61.97 kB / 407.2 MB, free: 45.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=192): time 5.541e-06/0.4108, allocations: 4 kB / 407.2 MB, free: 45.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=218): time 0.04847/0.4593, allocations: 15.32 MB / 422.5 MB, free: 30.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.4593, allocations: 201.2 kB / 422.7 MB, free: 30.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007146/0.4665, allocations: 5.28 MB / 428 MB, free: 25.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.4669, allocations: 57.7 kB / 428.1 MB, free: 25.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.4691, allocations: 4.289 MB / 432.3 MB, free: 21.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.4703, allocations: 0.9522 MB / 433.3 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002646/0.4729, allocations: 1.761 MB / 435.1 MB, free: 18.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.473, allocations: 488.7 kB / 435.5 MB, free: 17.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.4752, allocations: 0.9543 MB / 436.5 MB, free: 16.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004098/0.4793, allocations: 7.115 MB / 443.6 MB, free: 7.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009732/0.489, allocations: 8.887 MB / 452.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002442/0.4893, allocations: 40 kB / 452.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02053/0.5098, allocations: 6.991 MB / 459.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.51, allocations: 68.03 kB / 459.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003305/0.5104, allocations: 140 kB / 459.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005302/0.5157, allocations: 1.163 MB / 460.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005927/0.5216, allocations: 1.563 MB / 462.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.5341, allocations: 6.898 MB / 469.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005564/0.5397, allocations: 451.3 kB / 469.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/0.5409, allocations: 408 kB / 470.2 MB, free: 9.609 MB / 362.7 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.003571/0.5445, allocations: 0.8265 MB / 471 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/0.546, allocations: 477.1 kB / 471.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008334/0.5543, allocations: 2.58 MB / 474.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/0.5543, allocations: 24 kB / 474.1 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/0.5544, allocations: 4 kB / 474.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/0.5544, allocations: 11.97 kB / 474.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/0.5795, allocations: 8.408 MB / 482.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.5796, allocations: 0 / 482.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.5815, allocations: 339.5 kB / 482.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004848/0.5864, allocations: 0.9081 MB / 483.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/0.5867, allocations: 39.98 kB / 483.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.5979, allocations: 6.104 MB / 489.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5979, allocations: 0 / 489.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.6091, allocations: 3.892 MB / 493.8 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/0.6121, allocations: 0.6884 MB / 494.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.6131, allocations: 35.94 kB / 494.5 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/0.6159, allocations: 199.7 kB / 494.7 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/0.6164, allocations: 133.7 kB / 494.8 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/0.6166, allocations: 55.98 kB / 494.9 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.149/0.7656, allocations: 2.194 MB / 497.1 MB, free: 120.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7656, allocations: 3.688 kB / 497.1 MB, free: 120.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006679/0.7723, allocations: 1.425 MB / 498.5 MB, free: 120.8 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 (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.0005546/0.7729, allocations: 196.9 kB / 498.7 MB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007789/0.7807, allocations: 4.34 MB / 0.4913 GB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7807, allocations: 4.203 kB / 0.4913 GB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.7829, allocations: 1.387 MB / 0.4926 GB, free: 119.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.7865, allocations: 0.4992 MB / 0.4931 GB, free: 119.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.8038, allocations: 9.789 MB / 0.5027 GB, free: 115.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/0.8084, allocations: 3.179 MB / 0.5058 GB, free: 115 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004152/0.8126, allocations: 1.742 MB / 0.5075 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/0.8135, allocations: 275.1 kB / 0.5077 GB, free: 113.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8135, allocations: 0 / 0.5077 GB, free: 113.7 MB / 378.7 MB Notification: Performance of Templates: time 0.07236/0.8859, allocations: 42.35 MB / 0.5491 GB, free: 71.98 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 240] 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: 6.828058257931843]