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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.001459, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008246, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.928e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5309, allocations: 98.46 MB / 468.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5312, allocations: 82.2 kB / 468.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5288/1.06, allocations: 107.1 MB / 0.5622 GB, free: 89.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.06, allocations: 0 / 0.5622 GB, free: 89.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002638/1.06, allocations: 108.3 kB / 0.5623 GB, free: 89.46 MB / 410.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.01738/1.078, allocations: 5.262 MB / 0.5675 GB, free: 87.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.078, allocations: 6.875 kB / 0.5675 GB, free: 87.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/1.105, allocations: 6.939 MB / 0.5742 GB, free: 86.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.123, allocations: 6.832 MB / 0.5809 GB, free: 86.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/1.123, allocations: 413.9 kB / 0.5813 GB, free: 86.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/1.125, allocations: 0.5314 MB / 0.5818 GB, free: 86.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/1.15, allocations: 12.67 MB / 0.5942 GB, free: 79.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/1.15, allocations: 71.03 kB / 0.5943 GB, free: 79.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007518/1.151, allocations: 259.8 kB / 0.5945 GB, free: 79.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/1.152, allocations: 1.129 MB / 0.5956 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/1.172, allocations: 10.29 MB / 0.6057 GB, free: 72.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06814/1.24, allocations: 57.19 MB / 0.6615 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.251, allocations: 4.363 MB / 0.6658 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/1.253, allocations: 2.374 MB / 0.6681 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/1.269, allocations: 9.976 MB / 0.6778 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/1.269, allocations: 55.81 kB / 0.6779 GB, free: 14.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 6.532e-06/1.269, allocations: 0 / 0.6779 GB, free: 14.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.3655/1.635, allocations: 16.2 MB / 0.6937 GB, free: 96.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.635, allocations: 203.2 kB / 0.6939 GB, free: 96.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.645, allocations: 4.207 MB / 0.698 GB, free: 96.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005872/1.646, allocations: 54.86 kB / 0.6981 GB, free: 96.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/1.649, allocations: 3.787 MB / 0.7018 GB, free: 95.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.65, allocations: 0.8299 MB / 0.7026 GB, free: 94.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/1.65, allocations: 131.7 kB / 0.7027 GB, free: 94.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003623/1.651, allocations: 0.582 MB / 0.7033 GB, free: 94.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/1.654, allocations: 2.191 MB / 0.7054 GB, free: 94.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006659/1.661, allocations: 6.146 MB / 0.7114 GB, free: 89.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007224/1.668, allocations: 3.652 MB / 0.715 GB, free: 89.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.668, allocations: 39.41 kB / 0.715 GB, free: 89.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01764/1.686, allocations: 8.833 MB / 0.7236 GB, free: 87.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.686, allocations: 63.62 kB / 0.7237 GB, free: 87.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/1.687, allocations: 141 kB / 0.7238 GB, free: 87.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/1.689, allocations: 0.941 MB / 0.7247 GB, free: 87.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/1.695, allocations: 1.511 MB / 0.7262 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008385/1.703, allocations: 7.411 MB / 0.7335 GB, free: 82.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007124/1.71, allocations: 358.1 kB / 0.7338 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/1.712, allocations: 394.6 kB / 0.7342 GB, free: 82.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 793 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002613/1.715, allocations: 0.6158 MB / 0.7348 GB, free: 82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/1.716, allocations: 434.2 kB / 0.7352 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.724, allocations: 3.54 MB / 0.7387 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/1.724, allocations: 25.94 kB / 0.7387 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.724, allocations: 7.188 kB / 0.7387 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/1.724, allocations: 9.703 kB / 0.7387 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/1.748, allocations: 9.241 MB / 0.7477 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/1.748, allocations: 3.844 kB / 0.7477 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.75, allocations: 340.1 kB / 0.748 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.752, allocations: 0.6926 MB / 0.7487 GB, free: 76.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/1.753, allocations: 41.58 kB / 0.7488 GB, free: 76.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007389/1.76, allocations: 6.552 MB / 0.7552 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.76, allocations: 0 / 0.7552 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/1.77, allocations: 6.256 MB / 0.7613 GB, free: 69.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.773, allocations: 0.7415 MB / 0.762 GB, free: 69.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.775, allocations: 34.66 kB / 0.762 GB, free: 69.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.777, allocations: 112.3 kB / 0.7621 GB, free: 69.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004684/1.778, allocations: 129.6 kB / 0.7623 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.778, allocations: 56.14 kB / 0.7623 GB, free: 69.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006801/1.785, allocations: 2.969 MB / 0.7652 GB, free: 68.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.8e-07/1.785, allocations: 0 / 0.7652 GB, free: 68.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008419/1.793, allocations: 1.197 MB / 0.7664 GB, free: 68.08 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000586/1.794, allocations: 177.7 kB / 0.7665 GB, free: 67.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009419/1.803, allocations: 5.642 MB / 0.7721 GB, free: 63.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.803, allocations: 0 / 0.7721 GB, free: 63.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/1.806, allocations: 1.955 MB / 0.774 GB, free: 62.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.81, allocations: 0.5406 MB / 0.7745 GB, free: 61.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.831, allocations: 9.297 MB / 0.7836 GB, free: 53.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.835, allocations: 4.109 MB / 0.7876 GB, free: 50.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005323/1.841, allocations: 2.104 MB / 0.7896 GB, free: 48.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/1.841, allocations: 280.9 kB / 0.7899 GB, free: 48.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/1.841, allocations: 0 / 0.7899 GB, free: 48.67 MB / 426.7 MB Notification: Performance of Templates: time 0.07735/1.919, allocations: 41.1 MB / 0.83 GB, free: 13.94 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches