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.002252/0.002252, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.918/1.918, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001114/0.001114, allocations: 93.3 kB / 270.9 MB, free: 8.367 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.494/0.494, allocations: 43.56 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004681, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 58.83 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6085, allocations: 108.8 MB / 0.585 GB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/0.6089, allocations: 85.23 kB / 0.5851 GB, free: 9.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7849/1.394, allocations: 106.7 MB / 0.6893 GB, free: 85.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.394, allocations: 0 / 0.6893 GB, free: 85.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003791/1.394, allocations: 106.1 kB / 0.6894 GB, free: 85.46 MB / 490.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.02343/1.418, allocations: 5.737 MB / 0.695 GB, free: 83.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.418, allocations: 16.8 kB / 0.695 GB, free: 83.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05077/1.469, allocations: 6.883 MB / 0.7017 GB, free: 82.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02645/1.495, allocations: 6.917 MB / 0.7085 GB, free: 82.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006195/1.496, allocations: 406.9 kB / 0.7089 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003259/1.499, allocations: 0.5286 MB / 0.7094 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03893/1.538, allocations: 12.41 MB / 0.7215 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005045/1.539, allocations: 81.83 kB / 0.7216 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002806/1.541, allocations: 260.8 kB / 0.7218 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002925/1.544, allocations: 1.124 MB / 0.7229 GB, free: 78.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03065/1.575, allocations: 9.995 MB / 0.7327 GB, free: 76.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08311/1.658, allocations: 56.75 MB / 0.7881 GB, free: 34.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01891/1.677, allocations: 4.166 MB / 0.7922 GB, free: 32.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/1.701, allocations: 9.497 MB / 0.8015 GB, free: 27.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.817e-05/1.701, allocations: 54.78 kB / 0.8015 GB, free: 27.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 6.963e-06/1.701, allocations: 0 / 0.8015 GB, free: 27.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.08031/1.781, allocations: 18.34 MB / 0.8194 GB, free: 17.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/1.781, allocations: 205.2 kB / 0.8196 GB, free: 17.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.792, allocations: 4.245 MB / 0.8238 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005217/1.792, allocations: 57.7 kB / 0.8238 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003089/1.796, allocations: 3.631 MB / 0.8274 GB, free: 10.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.797, allocations: 0.8139 MB / 0.8282 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000961/1.798, allocations: 132 kB / 0.8283 GB, free: 9.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004691/1.798, allocations: 0.5853 MB / 0.8289 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/1.804, allocations: 2.236 MB / 0.831 GB, free: 7.121 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008705/1.813, allocations: 6.173 MB / 0.8371 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009424/1.822, allocations: 3.642 MB / 0.8406 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/1.823, allocations: 40 kB / 0.8407 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.02695/1.85, allocations: 8.734 MB / 0.8492 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.85, allocations: 64 kB / 0.8493 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002721/1.85, allocations: 140.9 kB / 0.8494 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/1.855, allocations: 0.9325 MB / 0.8503 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009732/1.865, allocations: 1.496 MB / 0.8518 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/1.88, allocations: 7.425 MB / 0.859 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/1.887, allocations: 354.7 kB / 0.8594 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.889, allocations: 396 kB / 0.8597 GB, free: 10.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * 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 (792): * Single equations (assignments): 787 * 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.007651/1.897, allocations: 2.566 MB / 0.8622 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.898, allocations: 434.4 kB / 0.8626 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/1.911, allocations: 3.536 MB / 0.8661 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/1.911, allocations: 20 kB / 0.8661 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.911, allocations: 8 kB / 0.8661 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/1.911, allocations: 11.95 kB / 0.8661 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3926/2.303, allocations: 9.143 MB / 0.8751 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/2.303, allocations: 2.5 kB / 0.8751 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003358/2.307, allocations: 331.8 kB / 0.8754 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/2.311, allocations: 0.6858 MB / 0.8761 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005053/2.312, allocations: 37.23 kB / 0.8761 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/2.324, allocations: 6.722 MB / 0.8827 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.324, allocations: 3.781 kB / 0.8827 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/2.34, allocations: 6.252 MB / 0.8888 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/2.343, allocations: 0.7363 MB / 0.8895 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/2.345, allocations: 31.47 kB / 0.8895 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/2.348, allocations: 112.2 kB / 0.8896 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006722/2.349, allocations: 134.4 kB / 0.8897 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/2.349, allocations: 54.14 kB / 0.8898 GB, free: 102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007857/2.357, allocations: 3.01 MB / 0.8927 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.82e-07/2.357, allocations: 0 / 0.8927 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007927/2.365, allocations: 1.185 MB / 0.8939 GB, free: 101.8 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.0008022/2.366, allocations: 169.6 kB / 0.8941 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01407/2.38, allocations: 5.692 MB / 0.8996 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.38, allocations: 2.844 kB / 0.8996 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00535/2.385, allocations: 1.961 MB / 0.9015 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/2.39, allocations: 0.5275 MB / 0.9021 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03501/2.425, allocations: 13.97 MB / 0.9157 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/2.436, allocations: 4.121 MB / 0.9197 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/2.438, allocations: 325.4 kB / 0.92 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/2.438, allocations: 0 / 0.92 GB, free: 94.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.2051/2.643, allocations: 111.8 MB / 1.029 GB, free: 29.2 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