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.001065/0.001066, allocations: 110.5 kB / 18.4 MB, free: 4.688 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.0011/0.0011, allocations: 187.1 kB / 19.34 MB, free: 3.766 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.228/1.228, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001152/0.001152, allocations: 43.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07025/0.07141, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.1558/0.2272, allocations: 14.22 MB / 390 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.2356, allocations: 4.639 MB / 394.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.2379, allocations: 99.47 kB / 394.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006838/0.2448, allocations: 4.22 MB / 399 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.2502, allocations: 2.266 MB / 401.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.2522, allocations: 0.9292 MB / 402.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007468/0.2597, allocations: 5.899 MB / 408.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006138/0.2658, allocations: 5.307 MB / 413.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.2692, allocations: 2.209 MB / 415.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.2735, allocations: 2.937 MB / 418.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.2747, allocations: 496 kB / 419 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.2774, allocations: 1.366 MB / 420.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002642/0.2801, allocations: 2.661 MB / 423.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.2829, allocations: 2.999 MB / 426.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008056/0.2909, allocations: 9.562 MB / 435.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.2909, allocations: 4 kB / 435.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.291, allocations: 0 / 435.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001065/0.2911, allocations: 0 / 435.6 MB, free: 3.602 MB / 350.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.01032/0.3014, allocations: 6.343 MB / 442 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3014, allocations: 8.031 kB / 442 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.3125, allocations: 2.622 MB / 444.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006879/0.3194, allocations: 4.039 MB / 448.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3196, allocations: 312.5 kB / 448.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.3204, allocations: 444 kB / 449.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.3372, allocations: 12.24 MB / 461.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.3374, allocations: 55.48 kB / 461.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000494/0.3379, allocations: 191.8 kB / 461.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.3415, allocations: 2.21 MB / 464.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.3588, allocations: 10.54 MB / 474.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.4107, allocations: 47.34 MB / 0.5097 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.4218, allocations: 4.615 MB / 0.5142 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/0.4251, allocations: 2.639 MB / 0.5168 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/0.4406, allocations: 10.44 MB / 0.527 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4406, allocations: 59.81 kB / 0.5271 GB, free: 8.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=192): time 4.338e-06/0.4407, allocations: 0 / 0.5271 GB, free: 8.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.05493/0.4956, allocations: 20.97 MB / 0.5475 GB, free: 3.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.4957, allocations: 209.2 kB / 0.5477 GB, free: 3.523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1658/0.6615, allocations: 4.816 MB / 0.5524 GB, free: 148.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004057/0.6619, allocations: 59.48 kB / 0.5525 GB, free: 148.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.6642, allocations: 3.723 MB / 0.5561 GB, free: 146.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000893/0.6652, allocations: 0.8349 MB / 0.5569 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/0.6669, allocations: 1.393 MB / 0.5583 GB, free: 145.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.667, allocations: 306.8 kB / 0.5586 GB, free: 144.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/0.6706, allocations: 2.58 MB / 0.5611 GB, free: 144.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004579/0.6752, allocations: 6.555 MB / 0.5675 GB, free: 137.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008506/0.6837, allocations: 9.808 MB / 0.5771 GB, free: 129.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-05/0.6838, allocations: 39.38 kB / 0.5771 GB, free: 129.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01495/0.6987, allocations: 10.26 MB / 0.5872 GB, free: 126.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/0.6988, allocations: 64.12 kB / 0.5872 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.6989, allocations: 140.6 kB / 0.5873 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/0.7028, allocations: 1.609 MB / 0.5889 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/0.7069, allocations: 1.566 MB / 0.5904 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.7169, allocations: 10.27 MB / 0.6005 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/0.7207, allocations: 377.3 kB / 0.6008 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.7211, allocations: 411 kB / 0.6012 GB, free: 119.2 MB / 478.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 (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.002678/0.7238, allocations: 2.568 MB / 0.6037 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.7243, allocations: 431.5 kB / 0.6041 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/0.7314, allocations: 4.62 MB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.7314, allocations: 11.97 kB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7315, allocations: 4 kB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7326, allocations: 0.7805 MB / 0.6094 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/0.7331, allocations: 35.94 kB / 0.6095 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.7346, allocations: 123.8 kB / 0.6096 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.7349, allocations: 153.7 kB / 0.6097 GB, free: 111.2 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007483/0.7424, allocations: 5.022 MB / 0.6146 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006104/0.7485, allocations: 6.317 MB / 0.6208 GB, free: 99.86 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001633/0.7502, allocations: 1.663 MB / 0.6224 GB, free: 98.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003053/0.7532, allocations: 3.041 MB / 0.6254 GB, free: 95.17 MB / 478.1 MB Notification: Performance of Backend: time 2.5e-07/0.7533, allocations: 0 / 0.6254 GB, free: 95.17 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007717/0.761, allocations: 5.151 MB / 0.6304 GB, free: 90.04 MB / 478.1 MB Notification: Performance of SimCode: time 0.01261/0.7736, allocations: 11.55 MB / 0.6417 GB, free: 78.51 MB / 478.1 MB Notification: Performance of Templates: time 0.07822/0.8518, allocations: 57.14 MB / 0.6975 GB, free: 21.43 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches