Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 111.5 kB / 16.64 MB, free: 6.363 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.001255/0.001256, allocations: 193.9 kB / 17.56 MB, free: 5.801 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.377/1.377, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.52 MB / 314.3 MB, free: 0.6953 MB / 254.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.001592/0.001592, allocations: 72.98 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08977, allocations: 57.79 MB / 440.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.05843/0.1482, allocations: 70.15 MB / 0.4988 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02986/0.1781, allocations: 13.93 MB / 0.5125 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.1923, allocations: 303.2 kB / 0.5127 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007684/0.2001, allocations: 4.067 MB / 0.5167 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.2059, allocations: 2.11 MB / 0.5188 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.2081, allocations: 0.8738 MB / 0.5196 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007939/0.2161, allocations: 6.081 MB / 0.5256 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2241/0.4402, allocations: 5.545 MB / 0.531 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.4448, allocations: 2.236 MB / 0.5332 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/0.4502, allocations: 3.273 MB / 0.5364 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002035/0.4523, allocations: 490.8 kB / 0.5368 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.4564, allocations: 1.371 MB / 0.5382 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004748/0.4612, allocations: 2.674 MB / 0.5408 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00654/0.4678, allocations: 3.033 MB / 0.5437 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4783, allocations: 7.659 MB / 0.5512 GB, free: 4.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4783, allocations: 0 / 0.5512 GB, free: 4.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4783, allocations: 0 / 0.5512 GB, free: 4.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003979/0.4787, allocations: 3.844 kB / 0.5512 GB, free: 4.062 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.02051/0.4993, allocations: 6.332 MB / 0.5574 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4993, allocations: 14.92 kB / 0.5574 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.5124, allocations: 2.6 MB / 0.56 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009595/0.522, allocations: 4.019 MB / 0.5639 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.5224, allocations: 315.7 kB / 0.5642 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.5246, allocations: 418.9 kB / 0.5646 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.5531, allocations: 11.97 MB / 0.5763 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000381/0.5535, allocations: 56.09 kB / 0.5763 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/0.556, allocations: 199.6 kB / 0.5765 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.5601, allocations: 2.208 MB / 0.5787 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.5828, allocations: 10.12 MB / 0.5886 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06927/0.6521, allocations: 47.13 MB / 0.6346 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.6633, allocations: 4.378 MB / 0.6389 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/0.6672, allocations: 2.516 MB / 0.6413 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01931/0.6865, allocations: 9.981 MB / 0.6511 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.6866, allocations: 55.86 kB / 0.6511 GB, free: 2.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.22e-06/0.6866, allocations: 0 / 0.6511 GB, free: 2.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.06523/0.7519, allocations: 20.8 MB / 0.6714 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.752, allocations: 204 kB / 0.6716 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/0.7624, allocations: 4.824 MB / 0.6763 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006724/0.7632, allocations: 57.7 kB / 0.6764 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/0.7666, allocations: 3.708 MB / 0.68 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.768, allocations: 0.8224 MB / 0.6808 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005687/0.7737, allocations: 1.379 MB / 0.6822 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7739, allocations: 305.1 kB / 0.6825 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/0.779, allocations: 2.555 MB / 0.6849 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00834/0.7874, allocations: 6.514 MB / 0.6913 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.7998, allocations: 9.738 MB / 0.7008 GB, free: 11.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/0.8001, allocations: 40 kB / 0.7009 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.02284/0.8229, allocations: 10.18 MB / 0.7108 GB, free: 2.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.8232, allocations: 64 kB / 0.7109 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002693/0.8235, allocations: 142.3 kB / 0.711 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/0.8285, allocations: 1.608 MB / 0.7126 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/0.8341, allocations: 1.549 MB / 0.7141 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.8481, allocations: 10.03 MB / 0.7239 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005874/0.854, allocations: 383 kB / 0.7242 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/0.8557, allocations: 400 kB / 0.7246 GB, free: 4.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (828): * Single equations (assignments): 823 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006423/0.8621, allocations: 2.57 MB / 0.7271 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/0.8635, allocations: 434.2 kB / 0.7275 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.8744, allocations: 4.536 MB / 0.732 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.8745, allocations: 24 kB / 0.732 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.8745, allocations: 8 kB / 0.732 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/0.8746, allocations: 7.969 kB / 0.732 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/0.8989, allocations: 10.33 MB / 0.7421 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.8989, allocations: 0 / 0.7421 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.9007, allocations: 331.6 kB / 0.7424 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/0.9049, allocations: 1.359 MB / 0.7437 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004257/0.9054, allocations: 42.05 kB / 0.7438 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2006/1.106, allocations: 9.38 MB / 0.7529 GB, free: 240.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.106, allocations: 1.375 kB / 0.7529 GB, free: 240.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.119, allocations: 7.458 MB / 0.7602 GB, free: 238.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.121, allocations: 0.7746 MB / 0.761 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009835/1.122, allocations: 31.16 kB / 0.761 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.124, allocations: 136.2 kB / 0.7611 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/1.125, allocations: 130.9 kB / 0.7613 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.125, allocations: 57.52 kB / 0.7613 GB, free: 237.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005288/1.13, allocations: 3.043 MB / 0.7643 GB, free: 236.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.13, allocations: 0 / 0.7643 GB, free: 236.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007062/1.137, allocations: 1.255 MB / 0.7655 GB, free: 236.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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.0006433/1.138, allocations: 169.3 kB / 0.7657 GB, free: 236.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.15, allocations: 7.66 MB / 0.7732 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.15, allocations: 0 / 0.7732 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.154, allocations: 2.173 MB / 0.7753 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/1.157, allocations: 0.5494 MB / 0.7758 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.182, allocations: 14.78 MB / 0.7903 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005426/1.187, allocations: 3.98 MB / 0.7941 GB, free: 217.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/1.188, allocations: 330.8 kB / 0.7945 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.188, allocations: 0 / 0.7945 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1289/1.317, allocations: 117.8 MB / 0.9095 GB, free: 100.9 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches