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.001302/0.001308, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001253/0.001253, allocations: 187 kB / 19.34 MB, free: 3.754 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.279/1.279, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001226/0.001226, allocations: 51.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0719/0.07314, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2089/0.2821, allocations: 14.23 MB / 390 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.2904, allocations: 4.641 MB / 394.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.2928, allocations: 96.75 kB / 394.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007045/0.2998, allocations: 4.224 MB / 399 MB, free: 112 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.3059, allocations: 2.314 MB / 401.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.3081, allocations: 0.9348 MB / 402.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008/0.3162, allocations: 5.9 MB / 408.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007087/0.3233, allocations: 5.31 MB / 413.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.3269, allocations: 2.21 MB / 415.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/0.3313, allocations: 2.94 MB / 418.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.3327, allocations: 496 kB / 419.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.3358, allocations: 1.369 MB / 420.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00299/0.3388, allocations: 2.654 MB / 423.1 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.3432, allocations: 3.007 MB / 426.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009252/0.3524, allocations: 9.558 MB / 435.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3525, allocations: 0 / 435.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3525, allocations: 0 / 435.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000142/0.3526, allocations: 4 kB / 435.7 MB, free: 3.504 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.01107/0.3637, allocations: 6.343 MB / 442 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3637, allocations: 12.03 kB / 442 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.376, allocations: 2.614 MB / 444.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/0.3852, allocations: 4.035 MB / 448.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.3855, allocations: 320.4 kB / 449 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.3865, allocations: 447.9 kB / 449.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.4053, allocations: 12.23 MB / 461.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.4055, allocations: 59.44 kB / 461.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.406, allocations: 195.8 kB / 461.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.4096, allocations: 2.206 MB / 464.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.428, allocations: 10.53 MB / 474.7 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05417/0.4822, allocations: 47.35 MB / 0.5098 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.4938, allocations: 4.601 MB / 0.5143 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/0.4973, allocations: 2.639 MB / 0.5169 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01719/0.5145, allocations: 10.45 MB / 0.5271 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.5145, allocations: 55.81 kB / 0.5271 GB, free: 8.762 MB / 462.1 MB Notification: Performance of pre-optimization done (n=192): time 4.339e-06/0.5145, allocations: 0 / 0.5271 GB, free: 8.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.05505/0.5696, allocations: 20.98 MB / 0.5476 GB, free: 3.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.5697, allocations: 201.2 kB / 0.5478 GB, free: 3.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1595/0.7292, allocations: 4.818 MB / 0.5525 GB, free: 148.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/0.7297, allocations: 60.02 kB / 0.5525 GB, free: 148.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.7317, allocations: 3.727 MB / 0.5562 GB, free: 146.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006541/0.7323, allocations: 0.8308 MB / 0.557 GB, free: 145.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.734, allocations: 1.395 MB / 0.5584 GB, free: 145.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.734, allocations: 307.2 kB / 0.5587 GB, free: 144.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/0.7376, allocations: 2.579 MB / 0.5612 GB, free: 144 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/0.7423, allocations: 6.556 MB / 0.5676 GB, free: 137.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009418/0.7517, allocations: 9.807 MB / 0.5772 GB, free: 129.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.189e-05/0.7519, allocations: 39.59 kB / 0.5772 GB, free: 129.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01613/0.768, allocations: 10.26 MB / 0.5872 GB, free: 126 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.7681, allocations: 73.78 kB / 0.5873 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.7682, allocations: 137.3 kB / 0.5874 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/0.7722, allocations: 1.616 MB / 0.589 GB, free: 125.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/0.7766, allocations: 1.563 MB / 0.5905 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.7869, allocations: 10.27 MB / 0.6005 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005146/0.7921, allocations: 382.1 kB / 0.6009 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009234/0.7931, allocations: 407.4 kB / 0.6013 GB, free: 119.1 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.003226/0.7963, allocations: 2.572 MB / 0.6038 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/0.797, allocations: 430.4 kB / 0.6042 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/0.8045, allocations: 4.616 MB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.8046, allocations: 7.969 kB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8046, allocations: 4.844 kB / 0.6087 GB, free: 112.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.8061, allocations: 0.7845 MB / 0.6095 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/0.8066, allocations: 35.94 kB / 0.6095 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8083, allocations: 123.8 kB / 0.6097 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.8087, allocations: 153.8 kB / 0.6098 GB, free: 111.2 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007929/0.8166, allocations: 5.016 MB / 0.6147 GB, free: 106.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006276/0.8229, allocations: 6.321 MB / 0.6209 GB, free: 99.82 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001676/0.8246, allocations: 1.668 MB / 0.6225 GB, free: 98.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003243/0.8279, allocations: 3.041 MB / 0.6255 GB, free: 95.12 MB / 478.1 MB Notification: Performance of Backend: time 4.01e-07/0.8279, allocations: 0 / 0.6255 GB, free: 95.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008214/0.8361, allocations: 5.154 MB / 0.6305 GB, free: 90 MB / 478.1 MB Notification: Performance of SimCode: time 0.01277/0.8489, allocations: 11.53 MB / 0.6418 GB, free: 78.46 MB / 478.1 MB Notification: Performance of Templates: time 0.08002/0.9289, allocations: 56.77 MB / 0.6972 GB, free: 21.71 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