Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 211.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.6 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2832, allocations: 50.54 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01612/0.2994, allocations: 13.48 MB / 423.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3094, allocations: 4.563 MB / 428.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.3116, allocations: 91.69 kB / 428.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007823/0.3194, allocations: 4.221 MB / 432.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.3252, allocations: 2.179 MB / 434.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.3274, allocations: 0.9398 MB / 435.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009142/0.3365, allocations: 6.115 MB / 441.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00585/0.3424, allocations: 4.337 MB / 446.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.3464, allocations: 2.122 MB / 448.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.3509, allocations: 2.796 MB / 451 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.352, allocations: 472 kB / 451.5 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3546, allocations: 1.342 MB / 452.8 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3572, allocations: 2.559 MB / 455.4 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003348/0.3606, allocations: 2.836 MB / 458.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.3716, allocations: 9.059 MB / 467.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3716, allocations: 0 / 467.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3716, allocations: 0 / 467.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.3718, allocations: 3.938 kB / 467.3 MB, free: 8.125 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.01384/0.3857, allocations: 6.23 MB / 473.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3857, allocations: 12.03 kB / 473.5 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.3978, allocations: 2.614 MB / 476.2 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/0.4074, allocations: 3.818 MB / 480 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.4077, allocations: 304.1 kB / 480.3 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.4094, allocations: 427.9 kB / 480.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.4313, allocations: 11.55 MB / 492.2 MB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.4315, allocations: 55.53 kB / 492.3 MB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005136/0.432, allocations: 191.8 kB / 492.5 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.4356, allocations: 2.022 MB / 494.5 MB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.456, allocations: 9.94 MB / 0.4926 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/0.5187, allocations: 45.43 MB / 0.537 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2476/0.7663, allocations: 4.204 MB / 0.5411 GB, free: 122.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/0.7694, allocations: 2.308 MB / 0.5433 GB, free: 121.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/0.7818, allocations: 9.863 MB / 0.553 GB, free: 116.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7819, allocations: 51.25 kB / 0.553 GB, free: 116.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 4.839e-06/0.7819, allocations: 1.5 kB / 0.553 GB, free: 116.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.04669/0.8286, allocations: 20.16 MB / 0.5727 GB, free: 102.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.8286, allocations: 197.2 kB / 0.5729 GB, free: 102.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.8334, allocations: 4.705 MB / 0.5775 GB, free: 97.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.8337, allocations: 57.53 kB / 0.5776 GB, free: 97.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.8352, allocations: 3.687 MB / 0.5812 GB, free: 94.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.8357, allocations: 0.7974 MB / 0.5819 GB, free: 93.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.8369, allocations: 1.341 MB / 0.5832 GB, free: 92.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.837, allocations: 313 kB / 0.5835 GB, free: 92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.8396, allocations: 2.405 MB / 0.5859 GB, free: 89.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/0.8431, allocations: 6.253 MB / 0.592 GB, free: 81.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006868/0.85, allocations: 9.288 MB / 0.6011 GB, free: 70.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.402e-05/0.8501, allocations: 44 kB / 0.6011 GB, free: 70.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01349/0.8635, allocations: 9.777 MB / 0.6107 GB, free: 60.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.8636, allocations: 66.81 kB / 0.6107 GB, free: 60.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.014e-05/0.8637, allocations: 132 kB / 0.6108 GB, free: 60.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/0.8675, allocations: 1.621 MB / 0.6124 GB, free: 58.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.8714, allocations: 1.478 MB / 0.6139 GB, free: 57.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.8813, allocations: 10.26 MB / 0.6239 GB, free: 46.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/0.8857, allocations: 363.6 kB / 0.6242 GB, free: 46.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006089/0.8863, allocations: 392 kB / 0.6246 GB, free: 45.89 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.002956/0.8892, allocations: 2.456 MB / 0.627 GB, free: 43.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006411/0.8899, allocations: 429.1 kB / 0.6274 GB, free: 43.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/0.8965, allocations: 4.224 MB / 0.6315 GB, free: 38.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.8965, allocations: 20 kB / 0.6316 GB, free: 38.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.8966, allocations: 8 kB / 0.6316 GB, free: 38.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.8966, allocations: 7.969 kB / 0.6316 GB, free: 38.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.9105, allocations: 9.654 MB / 0.641 GB, free: 29.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.9106, allocations: 4 kB / 0.641 GB, free: 29.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.9118, allocations: 291.6 kB / 0.6413 GB, free: 28.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/0.9153, allocations: 1.358 MB / 0.6426 GB, free: 27.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.9155, allocations: 45.86 kB / 0.6427 GB, free: 27.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008932/0.9244, allocations: 9.395 MB / 0.6518 GB, free: 17.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9244, allocations: 0 / 0.6518 GB, free: 17.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008744/0.9331, allocations: 6.982 MB / 0.6587 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/0.9341, allocations: 482 kB / 0.6591 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.9345, allocations: 32 kB / 0.6591 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.9359, allocations: 111.8 kB / 0.6593 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.9362, allocations: 121.1 kB / 0.6594 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.9364, allocations: 55.98 kB / 0.6594 GB, free: 9.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003336/0.9397, allocations: 2.952 MB / 0.6623 GB, free: 6.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9397, allocations: 0 / 0.6623 GB, free: 6.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00444/0.9441, allocations: 1.195 MB / 0.6635 GB, free: 5.719 MB / 462.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 (147): * Single equations (assignments): 142 * 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.0003559/0.9445, allocations: 169.3 kB / 0.6636 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007466/0.952, allocations: 5.736 MB / 0.6692 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.952, allocations: 0 / 0.6692 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.9552, allocations: 1.882 MB / 0.6711 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.9581, allocations: 0.53 MB / 0.6716 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.9788, allocations: 11.2 MB / 0.6825 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005495/0.9843, allocations: 3.823 MB / 0.6863 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005096/0.9894, allocations: 1.988 MB / 0.6882 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008309/0.9902, allocations: 263.4 kB / 0.6885 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.9902, allocations: 3.938 kB / 0.6885 GB, free: 12.01 MB / 494.1 MB Notification: Performance of Templates: time 0.08776/1.078, allocations: 42.12 MB / 0.7296 GB, free: 2.176 MB / 0.5137 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches