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.001091/0.001091, allocations: 187 kB / 17.92 MB, free: 3.855 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.154/1.154, allocations: 205.1 MB / 223.8 MB, free: 8.465 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.0008913/0.0008913, allocations: 96.95 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007756/0.0007757, allocations: 39.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1864, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.04444/0.2309, allocations: 70.17 MB / 444 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02504/0.256, allocations: 14.04 MB / 458 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01115/0.2672, allocations: 303.2 kB / 458.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006955/0.2742, allocations: 4.239 MB / 462.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.2789, allocations: 2.121 MB / 464.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.2806, allocations: 0.8504 MB / 465.5 MB, free: 5.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008238/0.2889, allocations: 8.58 MB / 474.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.294, allocations: 5.175 MB / 479.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2962, allocations: 1.958 MB / 481.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.2994, allocations: 3.123 MB / 484.4 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006129/0.3, allocations: 348 kB / 484.7 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.302, allocations: 1.276 MB / 486 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.3039, allocations: 2.525 MB / 488.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.3062, allocations: 2.866 MB / 491.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.3135, allocations: 9.175 MB / 0.4888 GB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3136, allocations: 4 kB / 0.4888 GB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3136, allocations: 3.938 kB / 0.4888 GB, free: 2.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002189/0.3138, allocations: 4 kB / 0.4888 GB, free: 2.254 MB / 378.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.1394/0.4532, allocations: 6.34 MB / 0.495 GB, free: 111.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4533, allocations: 9.781 kB / 0.495 GB, free: 111.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4635, allocations: 2.609 MB / 0.4976 GB, free: 110.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007784/0.4713, allocations: 3.975 MB / 0.5015 GB, free: 107.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.4716, allocations: 317.2 kB / 0.5018 GB, free: 107.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009233/0.4725, allocations: 441.9 kB / 0.5022 GB, free: 107.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.4856, allocations: 12.25 MB / 0.5142 GB, free: 95.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/0.4857, allocations: 51.52 kB / 0.5142 GB, free: 95.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.4861, allocations: 195.8 kB / 0.5144 GB, free: 95.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002558/0.4886, allocations: 2.203 MB / 0.5165 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.5018, allocations: 10.55 MB / 0.5268 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/0.5418, allocations: 47.57 MB / 0.5733 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.5525, allocations: 4.599 MB / 0.5778 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/0.5554, allocations: 2.637 MB / 0.5804 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.5686, allocations: 10.43 MB / 0.5905 GB, free: 16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5687, allocations: 59.81 kB / 0.5906 GB, free: 15.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=192): time 3.667e-06/0.5687, allocations: 0 / 0.5906 GB, free: 15.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.0435/0.6122, allocations: 20.99 MB / 0.6111 GB, free: 10.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6123, allocations: 201.2 kB / 0.6113 GB, free: 10.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005366/0.6177, allocations: 4.824 MB / 0.616 GB, free: 5.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.6179, allocations: 57.7 kB / 0.6161 GB, free: 5.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.62, allocations: 3.719 MB / 0.6197 GB, free: 1.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.6206, allocations: 0.833 MB / 0.6205 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.6222, allocations: 1.392 MB / 0.6219 GB, free: 15.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.6223, allocations: 313 kB / 0.6222 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.6255, allocations: 2.574 MB / 0.6247 GB, free: 12.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/0.631, allocations: 6.561 MB / 0.6311 GB, free: 4.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009735/0.6407, allocations: 9.801 MB / 0.6407 GB, free: 8.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-05/0.6408, allocations: 40 kB / 0.6407 GB, free: 8.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.1526/0.7934, allocations: 10.26 MB / 0.6507 GB, free: 137.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.7935, allocations: 62.5 kB / 0.6508 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.933e-05/0.7936, allocations: 143 kB / 0.6509 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/0.7976, allocations: 1.615 MB / 0.6525 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/0.8023, allocations: 1.567 MB / 0.654 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.8126, allocations: 9.555 MB / 0.6633 GB, free: 132.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/0.8169, allocations: 384.8 kB / 0.6637 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004421/0.8174, allocations: 413.1 kB / 0.6641 GB, free: 132.7 MB / 426.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.00287/0.8203, allocations: 2.567 MB / 0.6666 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.8208, allocations: 423 kB / 0.667 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/0.8277, allocations: 4.622 MB / 0.6715 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8277, allocations: 27.08 kB / 0.6716 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.8278, allocations: 6.469 kB / 0.6716 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.8278, allocations: 10.16 kB / 0.6716 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.8416, allocations: 10.49 MB / 0.6818 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.8417, allocations: 0 / 0.6818 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.8431, allocations: 351.5 kB / 0.6821 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.8463, allocations: 1.36 MB / 0.6835 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.8465, allocations: 43.89 kB / 0.6835 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007926/0.8544, allocations: 8.735 MB / 0.692 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8544, allocations: 0 / 0.692 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05977/0.9142, allocations: 44.06 MB / 0.7351 GB, free: 69.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.9156, allocations: 0.7846 MB / 0.7358 GB, free: 68.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/0.916, allocations: 36 kB / 0.7359 GB, free: 68.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.9174, allocations: 125.9 kB / 0.736 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.9178, allocations: 133.8 kB / 0.7361 GB, free: 67.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.9179, allocations: 55.98 kB / 0.7362 GB, free: 67.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003035/0.921, allocations: 3.041 MB / 0.7391 GB, free: 64.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.921, allocations: 2.188 kB / 0.7391 GB, free: 64.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004814/0.9258, allocations: 1.657 MB / 0.7408 GB, free: 63.18 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 () * 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.0003772/0.9262, allocations: 167.9 kB / 0.7409 GB, free: 63.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007304/0.9335, allocations: 6.384 MB / 0.7472 GB, free: 56.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9335, allocations: 0.5625 kB / 0.7472 GB, free: 56.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.936, allocations: 2.2 MB / 0.7493 GB, free: 54.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9387, allocations: 0.5158 MB / 0.7498 GB, free: 53.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.9563, allocations: 16.2 MB / 0.7656 GB, free: 37.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/0.9599, allocations: 4.084 MB / 0.7696 GB, free: 33.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004356/0.9643, allocations: 2.097 MB / 0.7717 GB, free: 31.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.965, allocations: 283.4 kB / 0.7719 GB, free: 31.14 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/0.965, allocations: 0 / 0.7719 GB, free: 31.14 MB / 426.7 MB Notification: Performance of Templates: time 0.2045/1.17, allocations: 55.55 MB / 0.8262 GB, free: 140.9 MB / 442.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@2/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