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.001269/0.001269, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001216/0.001216, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.335/1.335, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2026/0.2026, allocations: 44.18 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.28 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1196, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.0143/0.134, allocations: 13.53 MB / 483.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1446, allocations: 4.536 MB / 488 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.1478, allocations: 91.75 kB / 488.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007907/0.1557, allocations: 4.202 MB / 492.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.1625, allocations: 2.179 MB / 494.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.1652, allocations: 0.9243 MB / 495.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009176/0.1744, allocations: 6.018 MB / 0.4897 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008119/0.1826, allocations: 5.203 MB / 0.4947 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/0.1873, allocations: 2.119 MB / 0.4968 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/0.1923, allocations: 2.82 MB / 0.4996 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.1944, allocations: 472 kB / 0.5 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.1984, allocations: 1.362 MB / 0.5013 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003855/0.2023, allocations: 2.533 MB / 0.5038 GB, free: 220 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2319/0.4342, allocations: 2.87 MB / 0.5066 GB, free: 20 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.447, allocations: 8.917 MB / 0.5153 GB, free: 18.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4471, allocations: 0 / 0.5153 GB, free: 18.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4471, allocations: 0 / 0.5153 GB, free: 18.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003461/0.4474, allocations: 0 / 0.5153 GB, free: 18.88 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01806/0.4655, allocations: 6.126 MB / 0.5213 GB, free: 16.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4656, allocations: 9.188 kB / 0.5213 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/0.4782, allocations: 2.572 MB / 0.5238 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4883, allocations: 3.802 MB / 0.5275 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.4886, allocations: 302.6 kB / 0.5278 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.491, allocations: 409.4 kB / 0.5282 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.5131, allocations: 11.46 MB / 0.5394 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5134, allocations: 58.61 kB / 0.5395 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007201/0.5141, allocations: 186.7 kB / 0.5396 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/0.5173, allocations: 2.083 MB / 0.5417 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.5356, allocations: 9.695 MB / 0.5512 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06576/0.6014, allocations: 45.52 MB / 0.5956 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.6122, allocations: 4.147 MB / 0.5997 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/0.6156, allocations: 2.339 MB / 0.6019 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01728/0.6329, allocations: 9.406 MB / 0.6111 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.633, allocations: 59.16 kB / 0.6112 GB, free: 1.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=169): time 5.3e-06/0.633, allocations: 0 / 0.6112 GB, free: 1.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.05877/0.6918, allocations: 19.36 MB / 0.6301 GB, free: 13.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.6919, allocations: 197.2 kB / 0.6303 GB, free: 13.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00895/0.7009, allocations: 4.702 MB / 0.6349 GB, free: 8.648 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004963/0.7014, allocations: 57.7 kB / 0.6349 GB, free: 8.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003035/0.7045, allocations: 3.599 MB / 0.6384 GB, free: 4.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.7057, allocations: 0.7387 MB / 0.6392 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/0.7091, allocations: 1.336 MB / 0.6405 GB, free: 2.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7092, allocations: 301.1 kB / 0.6407 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/0.7135, allocations: 2.382 MB / 0.6431 GB, free: 236 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007916/0.7215, allocations: 6.239 MB / 0.6492 GB, free: 8.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.7333, allocations: 9.253 MB / 0.6582 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/0.7335, allocations: 36 kB / 0.6582 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02143/0.7549, allocations: 9.717 MB / 0.6677 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.7552, allocations: 64 kB / 0.6678 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.7554, allocations: 132 kB / 0.6679 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005099/0.7605, allocations: 1.607 MB / 0.6695 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005421/0.766, allocations: 1.474 MB / 0.6709 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.7799, allocations: 10.01 MB / 0.6807 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/0.7854, allocations: 355.3 kB / 0.681 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/0.7867, allocations: 388 kB / 0.6814 GB, free: 5.961 MB / 0.5137 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.005447/0.7922, allocations: 2.482 MB / 0.6838 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009947/0.7932, allocations: 414.6 kB / 0.6842 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/0.8021, allocations: 4.165 MB / 0.6883 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/0.8021, allocations: 24 kB / 0.6883 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.8022, allocations: 4 kB / 0.6883 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/0.8022, allocations: 11.97 kB / 0.6883 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/0.8261, allocations: 9.625 MB / 0.6977 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.8262, allocations: 0 / 0.6977 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.8278, allocations: 287.6 kB / 0.698 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/0.8321, allocations: 1.364 MB / 0.6993 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003629/0.8325, allocations: 31.98 kB / 0.6994 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2307/1.063, allocations: 9.383 MB / 0.7085 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.063, allocations: 6.547 kB / 0.7085 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/1.075, allocations: 6.874 MB / 0.7153 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.076, allocations: 450 kB / 0.7157 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/1.078, allocations: 31.81 kB / 0.7157 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.08, allocations: 113.1 kB / 0.7158 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005285/1.081, allocations: 116.8 kB / 0.7159 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.081, allocations: 53.22 kB / 0.716 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005853/1.087, allocations: 2.971 MB / 0.7189 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4e-07/1.087, allocations: 0 / 0.7189 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007405/1.094, allocations: 1.198 MB / 0.7201 GB, free: 181.4 MB / 0.5294 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.0007888/1.095, allocations: 159.9 kB / 0.7202 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.106, allocations: 6.921 MB / 0.727 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.107, allocations: 0 / 0.727 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.11, allocations: 1.976 MB / 0.7289 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.115, allocations: 0.5436 MB / 0.7294 GB, free: 178 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.136, allocations: 11.7 MB / 0.7409 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004564/1.14, allocations: 3.838 MB / 0.7446 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.141, allocations: 311.4 kB / 0.7449 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/1.141, allocations: 0 / 0.7449 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1213/1.263, allocations: 112.6 MB / 0.8549 GB, free: 52.07 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/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