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.00262/0.002625, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.61/2.61, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001133/0.001133, allocations: 94.81 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2915/0.2915, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006827/0.000683, allocations: 8 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.163, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.4232/0.5862, allocations: 60.05 MB / 0.5374 GB, free: 9.676 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04066/0.627, allocations: 14.01 MB / 0.5511 GB, free: 5.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01794/0.645, allocations: 307.8 kB / 0.5513 GB, free: 5.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.6573, allocations: 3.006 MB / 0.5543 GB, free: 4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03799/0.6954, allocations: 8.607 MB / 0.5627 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.7015, allocations: 0.794 MB / 0.5635 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07245/0.774, allocations: 26.79 MB / 0.5896 GB, free: 6.609 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.7886, allocations: 6.55 MB / 0.596 GB, free: 4 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.7927, allocations: 1.382 MB / 0.5974 GB, free: 14.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004661/0.7974, allocations: 1.858 MB / 0.5992 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.7988, allocations: 191.9 kB / 0.5994 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.8027, allocations: 0.952 MB / 0.6003 GB, free: 11.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004189/0.8069, allocations: 2.104 MB / 0.6023 GB, free: 9.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.8095, allocations: 1.092 MB / 0.6034 GB, free: 8.402 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.8229, allocations: 7.528 MB / 0.6108 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.823, allocations: 4 kB / 0.6108 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.823, allocations: 0 / 0.6108 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003417/0.8233, allocations: 0 / 0.6108 GB, free: 0.8516 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.02044/0.8438, allocations: 5.543 MB / 0.6162 GB, free: 11.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8438, allocations: 12.02 kB / 0.6162 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08774/0.9316, allocations: 8.028 MB / 0.624 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.9455, allocations: 4.264 MB / 0.6282 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.9461, allocations: 312 kB / 0.6285 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/0.9482, allocations: 419.7 kB / 0.6289 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03506/0.9833, allocations: 11.95 MB / 0.6406 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000276/0.9836, allocations: 59.48 kB / 0.6406 GB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/0.985, allocations: 195.8 kB / 0.6408 GB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00693/0.992, allocations: 2.199 MB / 0.643 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/1.026, allocations: 10 MB / 0.6527 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.142/1.168, allocations: 46.74 MB / 0.6984 GB, free: 4.773 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02939/1.197, allocations: 4.266 MB / 0.7025 GB, free: 372 kB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04175/1.239, allocations: 9.677 MB / 0.712 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/1.239, allocations: 55.88 kB / 0.712 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.112e-06/1.239, allocations: 0 / 0.712 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.4345/1.674, allocations: 19.42 MB / 0.731 GB, free: 182.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.674, allocations: 204.6 kB / 0.7312 GB, free: 182 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.687, allocations: 5.059 MB / 0.7361 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005567/1.688, allocations: 52.11 kB / 0.7362 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003398/1.691, allocations: 3.617 MB / 0.7397 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.693, allocations: 0.8087 MB / 0.7405 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007223/1.693, allocations: 130.1 kB / 0.7406 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004344/1.694, allocations: 0.5829 MB / 0.7412 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006231/1.7, allocations: 2.307 MB / 0.7435 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008724/1.709, allocations: 6.227 MB / 0.7495 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008656/1.718, allocations: 3.727 MB / 0.7532 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/1.718, allocations: 37.66 kB / 0.7532 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02532/1.743, allocations: 8.95 MB / 0.762 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.743, allocations: 64 kB / 0.762 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/1.744, allocations: 143.8 kB / 0.7622 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005328/1.749, allocations: 1.09 MB / 0.7632 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009107/1.758, allocations: 1.493 MB / 0.7647 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/1.774, allocations: 8.205 MB / 0.7727 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007714/1.781, allocations: 367.4 kB / 0.773 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/1.783, allocations: 393.5 kB / 0.7734 GB, free: 151.4 MB / 0.5105 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 (788): * Single equations (assignments): 783 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006674/1.789, allocations: 2.574 MB / 0.7759 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.791, allocations: 430.4 kB / 0.7763 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.802, allocations: 3.798 MB / 0.78 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/1.802, allocations: 25.09 kB / 0.7801 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.803, allocations: 8 kB / 0.7801 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-05/1.803, allocations: 11.95 kB / 0.7801 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02868/1.831, allocations: 9.603 MB / 0.7895 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/1.831, allocations: 4 kB / 0.7895 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/1.835, allocations: 340.3 kB / 0.7898 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004614/1.839, allocations: 0.8439 MB / 0.7906 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/1.84, allocations: 39.98 kB / 0.7907 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/1.853, allocations: 7.532 MB / 0.798 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.853, allocations: 4 kB / 0.798 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.869, allocations: 6.649 MB / 0.8045 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/1.872, allocations: 0.761 MB / 0.8053 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.873, allocations: 36 kB / 0.8053 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.877, allocations: 126.6 kB / 0.8054 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006774/1.877, allocations: 133 kB / 0.8055 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.878, allocations: 49.25 kB / 0.8056 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006542/1.884, allocations: 3.242 MB / 0.8088 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/1.884, allocations: 0 / 0.8088 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00795/1.892, allocations: 1.216 MB / 0.8099 GB, free: 113.6 MB / 0.5105 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.0008953/1.893, allocations: 183.2 kB / 0.8101 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.907, allocations: 5.828 MB / 0.8158 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.907, allocations: 4.062 kB / 0.8158 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005142/1.912, allocations: 2.036 MB / 0.8178 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/1.917, allocations: 0.5149 MB / 0.8183 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/1.948, allocations: 14.05 MB / 0.832 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008159/1.956, allocations: 4.118 MB / 0.836 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/1.958, allocations: 335.4 kB / 0.8364 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/1.958, allocations: 0 / 0.8364 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.5528/2.511, allocations: 112.7 MB / 0.9464 GB, free: 154.5 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/jenkins1/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