Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4.0.0_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_4.0.0_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.001044/0.001044, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.001063/0.001063, allocations: 188 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3504, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01333/0.3638, allocations: 13.55 MB / 0.5321 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.3779, allocations: 4.532 MB / 0.5366 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.3821, allocations: 95.31 kB / 0.5366 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008285/0.3904, allocations: 4.192 MB / 0.5407 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006883/0.3974, allocations: 2.175 MB / 0.5429 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.3998, allocations: 0.9249 MB / 0.5438 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008694/0.4085, allocations: 6.026 MB / 0.5497 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00531/0.4138, allocations: 5.186 MB / 0.5547 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.4171, allocations: 2.119 MB / 0.5568 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.4211, allocations: 2.839 MB / 0.5596 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.4223, allocations: 472 kB / 0.56 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.4252, allocations: 1.35 MB / 0.5613 GB, free: 496 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.4273, allocations: 2.56 MB / 0.5638 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003262/0.4306, allocations: 2.875 MB / 0.5666 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4409, allocations: 9.161 MB / 0.5756 GB, free: 1.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.441, allocations: 0 / 0.5756 GB, free: 1.836 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.441, allocations: 4 kB / 0.5756 GB, free: 1.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.4413, allocations: 0 / 0.5756 GB, free: 1.832 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01437/0.4557, allocations: 6.118 MB / 0.5816 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4557, allocations: 8.031 kB / 0.5816 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.4672, allocations: 2.579 MB / 0.5841 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009111/0.4764, allocations: 3.875 MB / 0.5879 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.4766, allocations: 296.1 kB / 0.5882 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.478, allocations: 411.8 kB / 0.5885 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.4965, allocations: 11.47 MB / 0.5997 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.4967, allocations: 55.44 kB / 0.5998 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.4972, allocations: 183.9 kB / 0.6 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003537/0.5007, allocations: 2.089 MB / 0.602 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/0.5205, allocations: 9.69 MB / 0.6115 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05764/0.5782, allocations: 45.33 MB / 0.6557 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.5886, allocations: 4.147 MB / 0.6598 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/0.5919, allocations: 2.339 MB / 0.6621 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/0.6062, allocations: 9.395 MB / 0.6712 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.6063, allocations: 55.56 kB / 0.6713 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.799e-06/0.6063, allocations: 0 / 0.6713 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05533/0.6616, allocations: 19.34 MB / 0.6902 GB, free: 9.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6618, allocations: 205.2 kB / 0.6904 GB, free: 9.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006295/0.6681, allocations: 4.709 MB / 0.695 GB, free: 4.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/0.6685, allocations: 53.7 kB / 0.695 GB, free: 4.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00223/0.6707, allocations: 3.595 MB / 0.6985 GB, free: 1.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/0.6716, allocations: 0.7444 MB / 0.6993 GB, free: 284 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.6733, allocations: 1.333 MB / 0.7006 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6734, allocations: 305.1 kB / 0.7009 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/0.6771, allocations: 2.382 MB / 0.7032 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005937/0.6831, allocations: 6.233 MB / 0.7093 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.6937, allocations: 9.251 MB / 0.7183 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.6938, allocations: 40 kB / 0.7184 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.295/0.9889, allocations: 9.711 MB / 0.7278 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.9891, allocations: 63 kB / 0.7279 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003046/0.9894, allocations: 135.4 kB / 0.728 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005717/0.9951, allocations: 1.6 MB / 0.7296 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005525/1.001, allocations: 1.479 MB / 0.731 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.014, allocations: 10 MB / 0.7408 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006245/1.021, allocations: 365.6 kB / 0.7412 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.022, allocations: 388.7 kB / 0.7415 GB, free: 171 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 (790): * Single equations (assignments): 785 * 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.004801/1.027, allocations: 2.481 MB / 0.7439 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.028, allocations: 411.4 kB / 0.7443 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/1.035, allocations: 4.167 MB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.035, allocations: 22.62 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.035, allocations: 6.125 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.035, allocations: 12.17 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.05, allocations: 9.565 MB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.05, allocations: 0 / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.052, allocations: 289.5 kB / 0.7581 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003592/1.055, allocations: 1.36 MB / 0.7594 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/1.056, allocations: 39.25 kB / 0.7594 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009181/1.065, allocations: 9.382 MB / 0.7686 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.065, allocations: 3.938 kB / 0.7686 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/1.074, allocations: 6.871 MB / 0.7753 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.075, allocations: 459.5 kB / 0.7757 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/1.075, allocations: 31.52 kB / 0.7758 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.077, allocations: 115.8 kB / 0.7759 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/1.077, allocations: 120.6 kB / 0.776 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.077, allocations: 51.98 kB / 0.776 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003499/1.081, allocations: 2.967 MB / 0.7789 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 0.7789 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005016/1.086, allocations: 1.196 MB / 0.7801 GB, free: 146.2 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 (141): * Single equations (assignments): 136 * 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.0004006/1.086, allocations: 168.1 kB / 0.7803 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008155/1.094, allocations: 5.896 MB / 0.786 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.095, allocations: 8.125 kB / 0.786 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.097, allocations: 1.977 MB / 0.788 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/1.1, allocations: 0.5463 MB / 0.7885 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/1.116, allocations: 11.05 MB / 0.7993 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/1.119, allocations: 3.863 MB / 0.8031 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003941/1.123, allocations: 1.992 MB / 0.805 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/1.123, allocations: 267.4 kB / 0.8053 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.123, allocations: 0 / 0.8053 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.06548/1.189, allocations: 41.9 MB / 0.8462 GB, free: 78.98 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches