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.0009862/0.0009865, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.253/1.253, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007654/0.0007654, allocations: 90.41 kB / 271.2 MB, free: 8.254 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.335/0.335, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 12 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.86 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2394/0.3493, allocations: 63.66 MB / 0.5415 GB, free: 4.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03224/0.3816, allocations: 13.38 MB / 0.5546 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01515/0.3968, allocations: 309.2 kB / 0.5549 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.4086, allocations: 3.305 MB / 0.5581 GB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03392/0.4425, allocations: 9.746 MB / 0.5676 GB, free: 6.535 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005699/0.4482, allocations: 0.8554 MB / 0.5684 GB, free: 6.191 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04522/0.4935, allocations: 34.98 MB / 0.6026 GB, free: 7.734 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01143/0.505, allocations: 7.105 MB / 0.6095 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.5093, allocations: 1.709 MB / 0.6112 GB, free: 14.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004879/0.5142, allocations: 2.672 MB / 0.6138 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.5158, allocations: 188 kB / 0.614 GB, free: 11.99 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.5217, allocations: 1.116 MB / 0.6151 GB, free: 10.88 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003888/0.5257, allocations: 2.264 MB / 0.6173 GB, free: 8.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004797/0.5305, allocations: 2.46 MB / 0.6197 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009964/0.5405, allocations: 7.404 MB / 0.6269 GB, free: 14.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.5405, allocations: 7.984 kB / 0.6269 GB, free: 14.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5405, allocations: 0 / 0.6269 GB, free: 14.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004463/0.541, allocations: 0 / 0.6269 GB, free: 14.7 MB / 458.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.01433/0.5553, allocations: 5.196 MB / 0.632 GB, free: 9.422 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.5554, allocations: 12.03 kB / 0.632 GB, free: 9.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.5686, allocations: 2.661 MB / 0.6346 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009418/0.578, allocations: 3.969 MB / 0.6385 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/0.5785, allocations: 312.4 kB / 0.6388 GB, free: 2.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/0.5807, allocations: 420.1 kB / 0.6392 GB, free: 1.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.6086, allocations: 11.97 MB / 0.6509 GB, free: 5.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004744/0.6091, allocations: 55.44 kB / 0.6509 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002879/0.612, allocations: 195.8 kB / 0.6511 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005498/0.6175, allocations: 2.202 MB / 0.6533 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.6411, allocations: 10.12 MB / 0.6631 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3287/0.9699, allocations: 47.16 MB / 0.7092 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.9807, allocations: 4.373 MB / 0.7135 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.9838, allocations: 2.51 MB / 0.7159 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.9982, allocations: 9.996 MB / 0.7257 GB, free: 99.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.9983, allocations: 57 kB / 0.7257 GB, free: 99.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 5.581e-06/0.9983, allocations: 0 / 0.7257 GB, free: 99.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.054/1.052, allocations: 20.8 MB / 0.746 GB, free: 91.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.052, allocations: 199.9 kB / 0.7462 GB, free: 91.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/1.059, allocations: 4.803 MB / 0.7509 GB, free: 89.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009845/1.06, allocations: 53.61 kB / 0.751 GB, free: 89.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.062, allocations: 3.722 MB / 0.7546 GB, free: 86.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008543/1.063, allocations: 0.812 MB / 0.7554 GB, free: 85.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.063, allocations: 130.9 kB / 0.7555 GB, free: 85.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002979/1.064, allocations: 0.5942 MB / 0.7561 GB, free: 85.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/1.067, allocations: 2.534 MB / 0.7586 GB, free: 84.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/1.071, allocations: 6.495 MB / 0.7649 GB, free: 76.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/1.08, allocations: 9.712 MB / 0.7744 GB, free: 64.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-05/1.08, allocations: 40 kB / 0.7745 GB, free: 64.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01567/1.095, allocations: 10.13 MB / 0.7843 GB, free: 54.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/1.095, allocations: 66.5 kB / 0.7844 GB, free: 54.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.727e-05/1.096, allocations: 140 kB / 0.7845 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/1.099, allocations: 1.606 MB / 0.7861 GB, free: 52.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/1.104, allocations: 1.548 MB / 0.7876 GB, free: 51.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009494/1.113, allocations: 9.393 MB / 0.7968 GB, free: 41.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006332/1.119, allocations: 383.4 kB / 0.7972 GB, free: 41.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000693/1.12, allocations: 408 kB / 0.7975 GB, free: 40.83 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.003871/1.124, allocations: 2.553 MB / 0.8 GB, free: 38.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008364/1.125, allocations: 422.6 kB / 0.8004 GB, free: 37.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007264/1.132, allocations: 4.565 MB / 0.8049 GB, free: 33.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/1.132, allocations: 24 kB / 0.8049 GB, free: 33.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.132, allocations: 8 kB / 0.8049 GB, free: 33.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.132, allocations: 7.969 kB / 0.8049 GB, free: 33.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.149, allocations: 10.31 MB / 0.815 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.149, allocations: 4 kB / 0.815 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.15, allocations: 335.5 kB / 0.8153 GB, free: 22.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/1.154, allocations: 1.355 MB / 0.8167 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/1.154, allocations: 39.98 kB / 0.8167 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00894/1.163, allocations: 8.733 MB / 0.8252 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.163, allocations: 3.984 kB / 0.8252 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.173, allocations: 7.463 MB / 0.8325 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002767/1.176, allocations: 0.7844 MB / 0.8333 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.177, allocations: 32 kB / 0.8333 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.179, allocations: 139.8 kB / 0.8334 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.179, allocations: 133 kB / 0.8336 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.179, allocations: 55.12 kB / 0.8336 GB, free: 3.496 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003984/1.183, allocations: 3.021 MB / 0.8366 GB, free: 492 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.183, allocations: 0 / 0.8366 GB, free: 492 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.005663/1.189, allocations: 1.249 MB / 0.8378 GB, free: 15.23 MB / 0.4948 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 (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.0006221/1.189, allocations: 175.4 kB / 0.838 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.2, allocations: 6.272 MB / 0.8441 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.2, allocations: 4 kB / 0.8441 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/1.205, allocations: 2.153 MB / 0.8462 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/1.209, allocations: 0.5214 MB / 0.8467 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.238, allocations: 14.29 MB / 0.8607 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00672/1.245, allocations: 3.967 MB / 0.8645 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.247, allocations: 331.4 kB / 0.8648 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/1.247, allocations: 0 / 0.8648 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of Templates: time 0.383/1.63, allocations: 116.9 MB / 0.979 GB, free: 80.87 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