Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.1 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3585/0.3585, allocations: 44.13 MB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 51.92 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3307, allocations: 60.81 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.05068/0.3814, allocations: 69.58 MB / 0.5743 GB, free: 4.609 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03529/0.4167, allocations: 13.93 MB / 0.5879 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01733/0.4341, allocations: 303.2 kB / 0.5882 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00912/0.4433, allocations: 4.213 MB / 0.5924 GB, free: 7.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.4494, allocations: 2.053 MB / 0.5944 GB, free: 5.781 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.4517, allocations: 0.8504 MB / 0.5952 GB, free: 4.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.463, allocations: 8.819 MB / 0.6038 GB, free: 12.1 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.4703, allocations: 5.108 MB / 0.6088 GB, free: 6.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.4746, allocations: 1.896 MB / 0.6106 GB, free: 5.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005031/0.4796, allocations: 3.01 MB / 0.6136 GB, free: 2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001504/0.4812, allocations: 332 kB / 0.6139 GB, free: 1.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.4843, allocations: 1.287 MB / 0.6152 GB, free: 396 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.4872, allocations: 2.431 MB / 0.6175 GB, free: 13.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005089/0.4924, allocations: 2.761 MB / 0.6202 GB, free: 11.17 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.5034, allocations: 8.824 MB / 0.6288 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5034, allocations: 0 / 0.6288 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5034, allocations: 0 / 0.6288 GB, free: 2.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003384/0.5038, allocations: 0 / 0.6288 GB, free: 2.32 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01474/0.5185, allocations: 6.142 MB / 0.6348 GB, free: 12.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5186, allocations: 8.031 kB / 0.6348 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.5306, allocations: 2.583 MB / 0.6374 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009983/0.5407, allocations: 3.797 MB / 0.6411 GB, free: 5.648 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.5409, allocations: 304.2 kB / 0.6414 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.5423, allocations: 435.8 kB / 0.6418 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.5626, allocations: 11.73 MB / 0.6532 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.5628, allocations: 63.36 kB / 0.6533 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.5633, allocations: 187.9 kB / 0.6535 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/0.5666, allocations: 2.085 MB / 0.6555 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.5854, allocations: 10.09 MB / 0.6654 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/0.9019, allocations: 45.97 MB / 0.7103 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009982/0.9119, allocations: 4.375 MB / 0.7145 GB, free: 98.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/0.9149, allocations: 2.465 MB / 0.7169 GB, free: 97.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.9315, allocations: 9.852 MB / 0.7266 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.9316, allocations: 59.36 kB / 0.7266 GB, free: 92.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 6.132e-06/0.9317, allocations: 1.406 kB / 0.7266 GB, free: 92.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.0598/0.9915, allocations: 19.95 MB / 0.7461 GB, free: 85.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.9916, allocations: 199.7 kB / 0.7463 GB, free: 84.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006971/0.9986, allocations: 4.718 MB / 0.7509 GB, free: 83.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.999, allocations: 52.98 kB / 0.751 GB, free: 83.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.001, allocations: 3.596 MB / 0.7545 GB, free: 80.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.001, allocations: 0.7644 MB / 0.7552 GB, free: 79.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/1.003, allocations: 1.342 MB / 0.7565 GB, free: 79.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.625e-05/1.003, allocations: 308.9 kB / 0.7568 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.006, allocations: 2.406 MB / 0.7592 GB, free: 77.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004148/1.01, allocations: 6.27 MB / 0.7653 GB, free: 68.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/1.017, allocations: 9.324 MB / 0.7744 GB, free: 57.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.507e-05/1.017, allocations: 36 kB / 0.7744 GB, free: 57.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01476/1.032, allocations: 9.799 MB / 0.784 GB, free: 47.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/1.032, allocations: 70.44 kB / 0.7841 GB, free: 47.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.032, allocations: 132 kB / 0.7842 GB, free: 47.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/1.036, allocations: 1.616 MB / 0.7858 GB, free: 46.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/1.041, allocations: 1.486 MB / 0.7872 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.051, allocations: 9.548 MB / 0.7965 GB, free: 34.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/1.057, allocations: 359.5 kB / 0.7969 GB, free: 34.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009167/1.058, allocations: 399.9 kB / 0.7973 GB, free: 33.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (796): * Single equations (assignments): 791 * 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.003613/1.061, allocations: 2.482 MB / 0.7997 GB, free: 31.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008536/1.062, allocations: 410.8 kB / 0.8001 GB, free: 31.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.069, allocations: 4.24 MB / 0.8042 GB, free: 26.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/1.069, allocations: 23.94 kB / 0.8043 GB, free: 26.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.069, allocations: 8 kB / 0.8043 GB, free: 26.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.069, allocations: 7.969 kB / 0.8043 GB, free: 26.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/1.086, allocations: 9.776 MB / 0.8138 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.086, allocations: 0 / 0.8138 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.087, allocations: 303.5 kB / 0.8141 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/1.091, allocations: 1.361 MB / 0.8154 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/1.091, allocations: 31.98 kB / 0.8155 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008798/1.1, allocations: 8.734 MB / 0.824 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.1, allocations: 4 kB / 0.824 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07869/1.179, allocations: 42.96 MB / 0.8659 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.18, allocations: 463.8 kB / 0.8664 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/1.182, allocations: 28 kB / 0.8664 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.184, allocations: 119.8 kB / 0.8665 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/1.185, allocations: 117.1 kB / 0.8666 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.185, allocations: 52 kB / 0.8667 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005932/1.191, allocations: 2.968 MB / 0.8696 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 0 / 0.8696 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008495/1.199, allocations: 1.592 MB / 0.8711 GB, free: 5.488 MB / 0.5261 GB 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.0007291/1.2, allocations: 172.8 kB / 0.8713 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2313/1.431, allocations: 5.956 MB / 0.8771 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.431, allocations: 1.156 kB / 0.8771 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004032/1.436, allocations: 2.012 MB / 0.8791 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.439, allocations: 0.5065 MB / 0.8796 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.461, allocations: 15.37 MB / 0.8946 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006162/1.468, allocations: 3.93 MB / 0.8984 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005804/1.473, allocations: 2.005 MB / 0.9004 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/1.474, allocations: 269 kB / 0.9007 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/1.474, allocations: 3.938 kB / 0.9007 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.09423/1.569, allocations: 53.63 MB / 0.953 GB, free: 125.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches