Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2028, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01357/0.2164, allocations: 13.43 MB / 423.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007974/0.2244, allocations: 4.559 MB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.2258, allocations: 91.75 kB / 428 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006898/0.2328, allocations: 4.174 MB / 432.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.2366, allocations: 2.132 MB / 434.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.2382, allocations: 0.9321 MB / 435.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006374/0.2446, allocations: 6.117 MB / 441.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/0.2494, allocations: 5.197 MB / 446.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.2515, allocations: 2.119 MB / 448.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.2543, allocations: 2.8 MB / 451.5 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006594/0.2549, allocations: 472 kB / 451.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.2569, allocations: 1.346 MB / 453.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.2589, allocations: 2.513 MB / 455.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.2612, allocations: 2.832 MB / 458.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.2685, allocations: 9.025 MB / 467.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2685, allocations: 0 / 467.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2685, allocations: 3.938 kB / 467.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.208e-05/0.2686, allocations: 0 / 467.7 MB, free: 7.629 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.009733/0.2783, allocations: 6.075 MB / 473.7 MB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2784, allocations: 8.031 kB / 473.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.2896, allocations: 2.579 MB / 476.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/0.297, allocations: 3.808 MB / 480.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.2972, allocations: 300.1 kB / 480.4 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007201/0.2979, allocations: 427.8 kB / 480.8 MB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.3136, allocations: 11.54 MB / 492.4 MB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.3137, allocations: 55.44 kB / 492.4 MB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.3142, allocations: 187.9 kB / 492.6 MB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003161/0.3174, allocations: 2.022 MB / 494.7 MB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.3335, allocations: 9.94 MB / 0.4928 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04558/0.3791, allocations: 45.35 MB / 0.5371 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1756/0.5548, allocations: 4.364 MB / 0.5413 GB, free: 122.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.5575, allocations: 2.468 MB / 0.5437 GB, free: 121.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.5693, allocations: 9.845 MB / 0.5533 GB, free: 117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.5694, allocations: 58.62 kB / 0.5534 GB, free: 116.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 3.998e-06/0.5694, allocations: 0 / 0.5534 GB, free: 116.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.04483/0.6142, allocations: 19.91 MB / 0.5728 GB, free: 102.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6143, allocations: 201.2 kB / 0.573 GB, free: 102.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.6184, allocations: 4.689 MB / 0.5776 GB, free: 97.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6185, allocations: 61.53 kB / 0.5777 GB, free: 97.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.6197, allocations: 3.553 MB / 0.5811 GB, free: 93.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.6201, allocations: 0.7667 MB / 0.5819 GB, free: 93.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.6213, allocations: 1.331 MB / 0.5832 GB, free: 91.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 2.9e-05/0.6214, allocations: 307.8 kB / 0.5835 GB, free: 91.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.624, allocations: 2.406 MB / 0.5858 GB, free: 89.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.6275, allocations: 6.252 MB / 0.5919 GB, free: 80.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00659/0.6341, allocations: 9.285 MB / 0.601 GB, free: 69.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.844e-05/0.6341, allocations: 40 kB / 0.601 GB, free: 69.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01245/0.6466, allocations: 9.778 MB / 0.6106 GB, free: 59.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.6467, allocations: 64.03 kB / 0.6106 GB, free: 59.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.054e-05/0.6467, allocations: 136 kB / 0.6108 GB, free: 59.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.6506, allocations: 1.605 MB / 0.6123 GB, free: 58.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/0.6544, allocations: 1.482 MB / 0.6138 GB, free: 56.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/0.6643, allocations: 10.25 MB / 0.6238 GB, free: 46.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/0.6678, allocations: 367.3 kB / 0.6242 GB, free: 45.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.6681, allocations: 395.7 kB / 0.6245 GB, free: 45.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (793): * Single equations (assignments): 788 * 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.002376/0.6705, allocations: 2.454 MB / 0.6269 GB, free: 42.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.671, allocations: 402.8 kB / 0.6273 GB, free: 42.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/0.6777, allocations: 4.239 MB / 0.6315 GB, free: 38.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.6778, allocations: 7.969 kB / 0.6315 GB, free: 38.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6778, allocations: 7.75 kB / 0.6315 GB, free: 38.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.6784, allocations: 455.7 kB / 0.6319 GB, free: 37.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.6788, allocations: 36 kB / 0.6319 GB, free: 37.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.6802, allocations: 107.8 kB / 0.632 GB, free: 37.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6805, allocations: 141.1 kB / 0.6322 GB, free: 37.54 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0071/0.6876, allocations: 4.645 MB / 0.6367 GB, free: 32.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005483/0.6931, allocations: 5.721 MB / 0.6423 GB, free: 27.18 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001452/0.6946, allocations: 1.482 MB / 0.6437 GB, free: 25.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002901/0.6975, allocations: 2.96 MB / 0.6466 GB, free: 22.74 MB / 462.1 MB Notification: Performance of Backend: time 2.1e-07/0.6975, allocations: 0 / 0.6466 GB, free: 22.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00692/0.7044, allocations: 4.88 MB / 0.6514 GB, free: 17.88 MB / 462.1 MB Notification: Performance of SimCode: time 0.01178/0.7162, allocations: 11.02 MB / 0.6622 GB, free: 6.812 MB / 462.1 MB Notification: Performance of Templates: time 0.08456/0.8008, allocations: 53.42 MB / 0.7143 GB, free: 1.645 MB / 0.4981 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches