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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 102.4 kB / 16.94 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 179.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004465, allocations: 16 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09329, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2334/0.3267, allocations: 60.06 MB / 388.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02998/0.3568, allocations: 14.03 MB / 402.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01474/0.3716, allocations: 303.2 kB / 402.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.3818, allocations: 3.012 MB / 405.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0271/0.4089, allocations: 8.598 MB / 414.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.4132, allocations: 0.8041 MB / 415.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03838/0.4516, allocations: 26.82 MB / 442 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009633/0.4613, allocations: 6.572 MB / 448.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.4643, allocations: 1.402 MB / 449.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.4675, allocations: 1.843 MB / 451.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008292/0.4684, allocations: 192 kB / 452 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.471, allocations: 0.9538 MB / 452.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.4734, allocations: 2.101 MB / 455 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.475, allocations: 1.104 MB / 456.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009166/0.4842, allocations: 7.542 MB / 463.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.4842, allocations: 0 / 463.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4843, allocations: 0 / 463.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003668/0.4846, allocations: 0 / 463.7 MB, free: 14.16 MB / 366.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.01318/0.4978, allocations: 5.551 MB / 469.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4979, allocations: 8.031 kB / 469.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04378/0.5417, allocations: 8.044 MB / 477.3 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009364/0.5511, allocations: 4.259 MB / 481.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.5514, allocations: 316.1 kB / 481.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.5527, allocations: 439.7 kB / 482.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.5759, allocations: 12.24 MB / 494.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.5761, allocations: 55.58 kB / 494.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005236/0.5767, allocations: 195.8 kB / 494.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003536/0.5802, allocations: 2.206 MB / 496.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/0.6013, allocations: 10.43 MB / 0.4955 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05851/0.6599, allocations: 47.17 MB / 0.5415 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1809/0.8408, allocations: 4.485 MB / 0.5459 GB, free: 164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.8581, allocations: 10.12 MB / 0.5558 GB, free: 159.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.8582, allocations: 55.38 kB / 0.5559 GB, free: 159.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 3.787e-06/0.8582, allocations: 0 / 0.5559 GB, free: 159.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.04976/0.9079, allocations: 19.86 MB / 0.5752 GB, free: 150.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.9081, allocations: 205.2 kB / 0.5754 GB, free: 150.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006925/0.915, allocations: 5.067 MB / 0.5804 GB, free: 145.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.9153, allocations: 53.7 kB / 0.5804 GB, free: 145.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.9174, allocations: 3.762 MB / 0.5841 GB, free: 141.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.9182, allocations: 0.8186 MB / 0.5849 GB, free: 140.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.9186, allocations: 137.2 kB / 0.585 GB, free: 140.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.919, allocations: 0.5849 MB / 0.5856 GB, free: 139.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.922, allocations: 2.335 MB / 0.5879 GB, free: 137.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/0.9264, allocations: 6.26 MB / 0.594 GB, free: 129.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00458/0.931, allocations: 3.758 MB / 0.5977 GB, free: 125.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.9311, allocations: 40 kB / 0.5977 GB, free: 125.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01406/0.9452, allocations: 9.207 MB / 0.6067 GB, free: 116.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.9453, allocations: 64 kB / 0.6068 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/0.9455, allocations: 140 kB / 0.6069 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.9484, allocations: 1.093 MB / 0.608 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/0.9528, allocations: 1.509 MB / 0.6094 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008531/0.9614, allocations: 8.391 MB / 0.6176 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/0.966, allocations: 367.4 kB / 0.618 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007846/0.9668, allocations: 401.5 kB / 0.6184 GB, free: 104.4 MB / 446.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 (794): * Single equations (assignments): 789 * 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.004052/0.9708, allocations: 2.572 MB / 0.6209 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.9717, allocations: 430.4 kB / 0.6213 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/0.9783, allocations: 3.885 MB / 0.6251 GB, free: 97.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.9784, allocations: 25.33 kB / 0.6251 GB, free: 97.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/0.9784, allocations: 8 kB / 0.6251 GB, free: 97.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.9784, allocations: 11.97 kB / 0.6251 GB, free: 97.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/0.9969, allocations: 9.791 MB / 0.6347 GB, free: 87.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.997, allocations: 3.938 kB / 0.6347 GB, free: 87.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9986, allocations: 347.5 kB / 0.635 GB, free: 87.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/1.001, allocations: 0.86 MB / 0.6359 GB, free: 86.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/1.001, allocations: 35.98 kB / 0.6359 GB, free: 86.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00765/1.009, allocations: 7.535 MB / 0.6433 GB, free: 78.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.009, allocations: 4 kB / 0.6433 GB, free: 78.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009279/1.018, allocations: 6.77 MB / 0.6499 GB, free: 71.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.021, allocations: 0.7726 MB / 0.6506 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.022, allocations: 36 kB / 0.6507 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.025, allocations: 111.9 kB / 0.6508 GB, free: 70.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/1.025, allocations: 137.8 kB / 0.6509 GB, free: 70.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.025, allocations: 55.98 kB / 0.651 GB, free: 70.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006061/1.031, allocations: 3.235 MB / 0.6541 GB, free: 67.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.031, allocations: 0 / 0.6541 GB, free: 67.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006958/1.038, allocations: 1.231 MB / 0.6553 GB, free: 66.13 MB / 446.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 (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.0007609/1.039, allocations: 187 kB / 0.6555 GB, free: 65.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00943/1.048, allocations: 5.911 MB / 0.6613 GB, free: 60.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.048, allocations: 0 / 0.6613 GB, free: 60.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/1.052, allocations: 2.077 MB / 0.6633 GB, free: 57.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.055, allocations: 0.5317 MB / 0.6638 GB, free: 57.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.079, allocations: 13.52 MB / 0.677 GB, free: 43.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006574/1.085, allocations: 4.112 MB / 0.681 GB, free: 39.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006239/1.092, allocations: 2.1 MB / 0.6831 GB, free: 37.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.093, allocations: 295.3 kB / 0.6834 GB, free: 37.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/1.093, allocations: 0 / 0.6834 GB, free: 37.31 MB / 446.1 MB Notification: Performance of Templates: time 0.2758/1.369, allocations: 43.1 MB / 0.7254 GB, free: 144.9 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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