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.0009905/0.0009905, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.00116/0.00116, allocations: 167.9 kB / 25.7 MB, free: 8.445 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 0.8858/0.8858, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.362e-06/1.362e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.728e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01145/0.01147, allocations: 13.49 MB / 265.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008313/0.01978, allocations: 4.734 MB / 269.8 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.02093, allocations: 115.4 kB / 269.9 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.02504, allocations: 4.466 MB / 274.4 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.02837, allocations: 2.398 MB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.0297, allocations: 1.025 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005364/0.03506, allocations: 6.586 MB / 284.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.03855, allocations: 4.665 MB / 289 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.04201, allocations: 3.922 MB / 293 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.04482, allocations: 3.125 MB / 296.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.04542, allocations: 0.4961 MB / 296.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.04714, allocations: 1.369 MB / 298 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005132/0.05227, allocations: 2.852 MB / 300.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00524/0.05751, allocations: 1.819 MB / 302.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009419/0.06693, allocations: 6.182 MB / 308.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.06693, allocations: 0 / 308.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06693, allocations: 0 / 308.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.06704, allocations: 0 / 308.8 MB, free: 13.73 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.0072/0.07424, allocations: 5.982 MB / 314.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.07428, allocations: 11.98 kB / 314.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/0.07901, allocations: 1.483 MB / 316.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.08276, allocations: 2.744 MB / 319 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.08296, allocations: 312.5 kB / 319.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006328/0.08359, allocations: 444.6 kB / 319.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/0.09122, allocations: 6.053 MB / 325.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.09133, allocations: 55.55 kB / 325.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003965/0.09172, allocations: 199.8 kB / 326.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002011/0.09373, allocations: 1.937 MB / 328 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005747/0.09948, allocations: 3.02 MB / 331 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1419/0.2414, allocations: 36.03 MB / 367.1 MB, free: 67.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.2457, allocations: 1.788 MB / 368.8 MB, free: 67.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.2464, allocations: 447.1 kB / 369.3 MB, free: 67.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006611/0.253, allocations: 4.36 MB / 373.6 MB, free: 66.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.253, allocations: 49.53 kB / 373.7 MB, free: 66.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=162): time 4.909e-06/0.253, allocations: 0 / 373.7 MB, free: 66.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=178): time 0.01263/0.2657, allocations: 5.679 MB / 379.4 MB, free: 65.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.2657, allocations: 204.9 kB / 379.6 MB, free: 65.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.2687, allocations: 3.807 MB / 383.4 MB, free: 64.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.2688, allocations: 51.77 kB / 383.4 MB, free: 64.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.2699, allocations: 3.653 MB / 387.1 MB, free: 61.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.2703, allocations: 0.7279 MB / 387.8 MB, free: 60.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008506/0.2712, allocations: 1.3 MB / 389.1 MB, free: 59.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.962e-05/0.2712, allocations: 309.1 kB / 389.4 MB, free: 59.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.2723, allocations: 0.7985 MB / 390.2 MB, free: 58.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2742, allocations: 4.869 MB / 395.1 MB, free: 51.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.2778, allocations: 6.232 MB / 401.3 MB, free: 43.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.457e-05/0.2779, allocations: 44 kB / 401.4 MB, free: 43.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.004978/0.2829, allocations: 4.615 MB / 406 MB, free: 39.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.2829, allocations: 68 kB / 406 MB, free: 39.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.283, allocations: 148 kB / 406.2 MB, free: 39.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/0.2837, allocations: 401.5 kB / 406.6 MB, free: 38.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.2862, allocations: 1.607 MB / 408.2 MB, free: 37.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.2883, allocations: 3.58 MB / 411.8 MB, free: 33.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/0.2916, allocations: 295.7 kB / 412 MB, free: 33.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/0.292, allocations: 360 kB / 412.4 MB, free: 32.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * 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 (844): * Single equations (assignments): 839 * 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,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.2934, allocations: 0.6761 MB / 413.1 MB, free: 32.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.2939, allocations: 263.6 kB / 413.3 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.295, allocations: 0.967 MB / 414.3 MB, free: 30.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.2951, allocations: 23.98 kB / 414.3 MB, free: 30.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2951, allocations: 4 kB / 414.3 MB, free: 30.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2951, allocations: 3.984 kB / 414.3 MB, free: 30.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/0.3004, allocations: 4.535 MB / 418.9 MB, free: 26.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3004, allocations: 12.12 kB / 418.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.3011, allocations: 303.5 kB / 419.2 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006592/0.3018, allocations: 426.8 kB / 419.6 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/0.3019, allocations: 32 kB / 419.6 MB, free: 25.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.3032, allocations: 2.778 MB / 422.4 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3032, allocations: 15.64 kB / 422.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3051, allocations: 1.902 MB / 424.3 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.3058, allocations: 0.4932 MB / 424.8 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.3061, allocations: 40 kB / 424.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/0.3068, allocations: 39.98 kB / 424.9 MB, free: 19.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.307, allocations: 128.6 kB / 425 MB, free: 19.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.3071, allocations: 43.94 kB / 425.1 MB, free: 19.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.3084, allocations: 1.439 MB / 426.5 MB, free: 18.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3084, allocations: 0 / 426.5 MB, free: 18.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003907/0.3123, allocations: 1.223 MB / 427.7 MB, free: 16.92 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (151): * Single equations (assignments): 146 * 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,9,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.0003776/0.3126, allocations: 172 kB / 427.9 MB, free: 16.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00336/0.316, allocations: 2.86 MB / 430.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001805/0.3162, allocations: 112.2 kB / 430.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.3169, allocations: 0.6931 MB / 431.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.3197, allocations: 0.761 MB / 432.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3309, allocations: 9.144 MB / 441.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.3321, allocations: 1.55 MB / 443 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001564/0.3337, allocations: 0.553 MB / 443.6 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.3345, allocations: 0.6261 MB / 444.2 MB, free: 260 kB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3345, allocations: 0 / 444.2 MB, free: 260 kB / 330.7 MB Notification: Performance of Templates: time 0.05786/0.3924, allocations: 33.88 MB / 478.1 MB, free: 14.39 MB / 378.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9745985069312155]