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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 187 kB / 16.63 MB, free: 5.137 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009503/0.0009503, allocations: 91.8 kB / 269.9 MB, free: 8.434 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.343/0.343, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 59.91 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1284, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2922/0.4207, allocations: 70.16 MB / 0.5441 GB, free: 20.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03085/0.4516, allocations: 14.02 MB / 0.5578 GB, free: 10.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01867/0.4703, allocations: 306.5 kB / 0.5581 GB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006585/0.4769, allocations: 4.228 MB / 0.5622 GB, free: 8.656 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.4821, allocations: 2.134 MB / 0.5643 GB, free: 7.691 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.4839, allocations: 0.8439 MB / 0.5651 GB, free: 7.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.4945, allocations: 8.521 MB / 0.5735 GB, free: 4.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007183/0.5017, allocations: 5.152 MB / 0.5785 GB, free: 2.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.5063, allocations: 1.936 MB / 0.5804 GB, free: 2.215 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008/0.5143, allocations: 3.138 MB / 0.5834 GB, free: 0.543 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003416/0.5179, allocations: 343 kB / 0.5838 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.5232, allocations: 1.281 MB / 0.585 GB, free: 24 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005941/0.5292, allocations: 2.515 MB / 0.5875 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005929/0.5352, allocations: 2.859 MB / 0.5903 GB, free: 11.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.5469, allocations: 9.167 MB / 0.5992 GB, free: 2.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5469, allocations: 0 / 0.5992 GB, free: 2.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5469, allocations: 0 / 0.5992 GB, free: 2.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004101/0.5473, allocations: 4 kB / 0.5992 GB, free: 2.559 MB / 410.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.01666/0.564, allocations: 6.331 MB / 0.6054 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5641, allocations: 8.031 kB / 0.6054 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.5766, allocations: 2.606 MB / 0.608 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.5883, allocations: 3.988 MB / 0.6119 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.5887, allocations: 304.4 kB / 0.6121 GB, free: 5.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/0.5907, allocations: 420.1 kB / 0.6125 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.6161, allocations: 11.98 MB / 0.6242 GB, free: 8.004 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003126/0.6164, allocations: 51.5 kB / 0.6243 GB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.6179, allocations: 195.8 kB / 0.6245 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/0.6217, allocations: 2.206 MB / 0.6266 GB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02225/0.644, allocations: 10.13 MB / 0.6365 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06852/0.7126, allocations: 47.13 MB / 0.6826 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.7234, allocations: 4.383 MB / 0.6868 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.727, allocations: 2.509 MB / 0.6893 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2472/0.9743, allocations: 9.979 MB / 0.699 GB, free: 152 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.9744, allocations: 52.77 kB / 0.6991 GB, free: 152 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 5.25e-06/0.9744, allocations: 3.656 kB / 0.6991 GB, free: 152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.04655/1.021, allocations: 20.79 MB / 0.7194 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/1.021, allocations: 206.5 kB / 0.7196 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/1.027, allocations: 4.821 MB / 0.7243 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.027, allocations: 55.48 kB / 0.7243 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.029, allocations: 3.713 MB / 0.728 GB, free: 140 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/1.029, allocations: 0.8161 MB / 0.7288 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/1.031, allocations: 1.383 MB / 0.7301 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/1.031, allocations: 301.1 kB / 0.7304 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/1.035, allocations: 2.558 MB / 0.7329 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005337/1.04, allocations: 6.512 MB / 0.7393 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/1.05, allocations: 9.734 MB / 0.7488 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.05, allocations: 43.44 kB / 0.7488 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01617/1.066, allocations: 10.19 MB / 0.7588 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/1.066, allocations: 66.06 kB / 0.7588 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/1.066, allocations: 144.5 kB / 0.759 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/1.07, allocations: 1.604 MB / 0.7605 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.074, allocations: 1.546 MB / 0.762 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009759/1.084, allocations: 9.379 MB / 0.7712 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/1.09, allocations: 380.5 kB / 0.7716 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007854/1.091, allocations: 399.7 kB / 0.7719 GB, free: 109.5 MB / 0.4948 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.003363/1.094, allocations: 2.574 MB / 0.7745 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006449/1.095, allocations: 418.6 kB / 0.7749 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007279/1.102, allocations: 4.547 MB / 0.7793 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.102, allocations: 27.52 kB / 0.7793 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/1.102, allocations: 14.5 kB / 0.7793 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.102, allocations: 15.89 kB / 0.7793 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.119, allocations: 10.31 MB / 0.7894 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.119, allocations: 8.875 kB / 0.7894 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.12, allocations: 331.5 kB / 0.7897 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/1.124, allocations: 1.355 MB / 0.7911 GB, free: 90.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.124, allocations: 39.61 kB / 0.7911 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008694/1.133, allocations: 8.717 MB / 0.7996 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.133, allocations: 3.938 kB / 0.7996 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06684/1.2, allocations: 43.94 MB / 0.8425 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.201, allocations: 0.7728 MB / 0.8433 GB, free: 36.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.202, allocations: 32 kB / 0.8433 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.203, allocations: 131.8 kB / 0.8434 GB, free: 36.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/1.204, allocations: 132 kB / 0.8436 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.204, allocations: 54.69 kB / 0.8436 GB, free: 36.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004442/1.208, allocations: 3.045 MB / 0.8466 GB, free: 33.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/1.208, allocations: 7.938 kB / 0.8466 GB, free: 33.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008715/1.217, allocations: 1.639 MB / 0.8482 GB, free: 31.54 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 (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.0005768/1.218, allocations: 173.6 kB / 0.8484 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009614/1.227, allocations: 6.29 MB / 0.8545 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.227, allocations: 0.5625 kB / 0.8545 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.23, allocations: 2.163 MB / 0.8566 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.234, allocations: 0.5212 MB / 0.8571 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.258, allocations: 16.1 MB / 0.8728 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004731/1.262, allocations: 4.073 MB / 0.8768 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.2158/1.478, allocations: 2.089 MB / 0.8789 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.479, allocations: 289.6 kB / 0.8791 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/1.479, allocations: 0 / 0.8791 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.09913/1.579, allocations: 55.32 MB / 0.9332 GB, free: 119.8 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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