Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 95.89 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3495/0.3495, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 8 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1072, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2795/0.3867, allocations: 63.65 MB / 0.5409 GB, free: 5.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.4193, allocations: 13.39 MB / 0.554 GB, free: 12.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/0.4352, allocations: 304.3 kB / 0.5543 GB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.4464, allocations: 3.301 MB / 0.5575 GB, free: 10.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03068/0.4772, allocations: 9.736 MB / 0.567 GB, free: 6.824 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.4822, allocations: 0.8028 MB / 0.5678 GB, free: 6.508 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04292/0.5251, allocations: 34.93 MB / 0.6019 GB, free: 8.297 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.5357, allocations: 6.588 MB / 0.6083 GB, free: 1.676 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.5395, allocations: 1.709 MB / 0.61 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004187/0.5437, allocations: 2.672 MB / 0.6126 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008023/0.5445, allocations: 188 kB / 0.6128 GB, free: 13.1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.5472, allocations: 0.9753 MB / 0.6137 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.5497, allocations: 2.26 MB / 0.616 GB, free: 9.855 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.5511, allocations: 1.08 MB / 0.617 GB, free: 8.766 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009242/0.5603, allocations: 7.404 MB / 0.6242 GB, free: 1.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/0.5604, allocations: 11.94 kB / 0.6243 GB, free: 1.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5604, allocations: 0 / 0.6243 GB, free: 1.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003505/0.5608, allocations: 0 / 0.6243 GB, free: 1.332 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.0131/0.5739, allocations: 5.258 MB / 0.6294 GB, free: 12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5739, allocations: 15.97 kB / 0.6294 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5859, allocations: 2.656 MB / 0.632 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.5962, allocations: 3.9 MB / 0.6358 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.5966, allocations: 316 kB / 0.6361 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/0.5984, allocations: 415.8 kB / 0.6365 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/0.6212, allocations: 11.97 MB / 0.6482 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.6214, allocations: 51.5 kB / 0.6482 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.622, allocations: 195.8 kB / 0.6484 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003592/0.6256, allocations: 2.202 MB / 0.6506 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/0.6451, allocations: 10.12 MB / 0.6605 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2909/0.9361, allocations: 47.14 MB / 0.7065 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009414/0.9456, allocations: 4.369 MB / 0.7108 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.9485, allocations: 2.51 MB / 0.7132 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.9618, allocations: 9.998 MB / 0.723 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.9619, allocations: 57.12 kB / 0.723 GB, free: 99.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 5.651e-06/0.9619, allocations: 0 / 0.723 GB, free: 99.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.05856/1.02, allocations: 20.8 MB / 0.7433 GB, free: 92.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/1.021, allocations: 207 kB / 0.7435 GB, free: 91.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/1.028, allocations: 4.785 MB / 0.7482 GB, free: 90.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005411/1.028, allocations: 56.23 kB / 0.7483 GB, free: 90.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.031, allocations: 3.718 MB / 0.7519 GB, free: 87.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.032, allocations: 0.8088 MB / 0.7527 GB, free: 86.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/1.032, allocations: 137.2 kB / 0.7528 GB, free: 86.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002868/1.032, allocations: 0.5876 MB / 0.7534 GB, free: 86.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.036, allocations: 2.54 MB / 0.7559 GB, free: 85.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/1.041, allocations: 6.495 MB / 0.7622 GB, free: 78.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/1.046, allocations: 3.971 MB / 0.7661 GB, free: 74.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.845e-05/1.046, allocations: 40 kB / 0.7661 GB, free: 74.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01601/1.062, allocations: 10.13 MB / 0.776 GB, free: 64.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/1.062, allocations: 67.94 kB / 0.7761 GB, free: 64.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.062, allocations: 140.9 kB / 0.7762 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003846/1.066, allocations: 1.623 MB / 0.7778 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/1.071, allocations: 1.552 MB / 0.7793 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009762/1.08, allocations: 9.365 MB / 0.7885 GB, free: 51.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/1.086, allocations: 387.5 kB / 0.7888 GB, free: 51.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/1.087, allocations: 403.3 kB / 0.7892 GB, free: 50.94 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00411/1.091, allocations: 2.57 MB / 0.7917 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009235/1.092, allocations: 430.5 kB / 0.7921 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007324/1.099, allocations: 4.537 MB / 0.7966 GB, free: 43.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.914e-05/1.099, allocations: 35.94 kB / 0.7966 GB, free: 43.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.099, allocations: 8 kB / 0.7966 GB, free: 43.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/1.099, allocations: 7.969 kB / 0.7966 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.117, allocations: 10.32 MB / 0.8067 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/1.117, allocations: 3.938 kB / 0.8067 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/1.119, allocations: 335.5 kB / 0.807 GB, free: 32.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/1.122, allocations: 1.355 MB / 0.8083 GB, free: 31.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.123, allocations: 34.66 kB / 0.8084 GB, free: 31.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009554/1.132, allocations: 8.726 MB / 0.8169 GB, free: 22.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.132, allocations: 7.891 kB / 0.8169 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.143, allocations: 7.46 MB / 0.8242 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.146, allocations: 0.7806 MB / 0.825 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008046/1.147, allocations: 44.47 kB / 0.825 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.148, allocations: 139.8 kB / 0.8251 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/1.149, allocations: 123.9 kB / 0.8253 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.149, allocations: 55.98 kB / 0.8253 GB, free: 13.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004424/1.153, allocations: 3.013 MB / 0.8282 GB, free: 10.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.153, allocations: 3.938 kB / 0.8283 GB, free: 10.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007654/1.161, allocations: 1.256 MB / 0.8295 GB, free: 9.348 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008207/1.162, allocations: 162.6 kB / 0.8296 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/1.173, allocations: 6.273 MB / 0.8358 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.174, allocations: 2.719 kB / 0.8358 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003101/1.177, allocations: 2.158 MB / 0.8379 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.18, allocations: 0.5234 MB / 0.8384 GB, free: 224 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/1.205, allocations: 14.29 MB / 0.8523 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005727/1.211, allocations: 3.972 MB / 0.8562 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.213, allocations: 327.4 kB / 0.8565 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/1.213, allocations: 4 kB / 0.8565 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.3951/1.608, allocations: 117.1 MB / 0.9709 GB, free: 87.35 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches