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.001778/0.001778, allocations: 181.2 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.02/3.02, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.001113/0.001113, allocations: 85.48 kB / 271.9 MB, free: 8.23 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.7412/0.7412, allocations: 43.56 MB / 363.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008396/0.0008401, allocations: 12 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2337, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8166/1.05, allocations: 109 MB / 0.5864 GB, free: 9.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005024/1.051, allocations: 87.95 kB / 0.5865 GB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9951/2.046, allocations: 105.1 MB / 0.6891 GB, free: 85.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.648e-06/2.046, allocations: 0 / 0.6891 GB, free: 85.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006139/2.047, allocations: 108.3 kB / 0.6892 GB, free: 85.14 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.03693/2.084, allocations: 5.548 MB / 0.6946 GB, free: 82.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/2.084, allocations: 9.906 kB / 0.6946 GB, free: 82.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03729/2.121, allocations: 5.25 MB / 0.6997 GB, free: 82.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02717/2.148, allocations: 5.762 MB / 0.7054 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/2.15, allocations: 404.2 kB / 0.7058 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005559/2.155, allocations: 0.5231 MB / 0.7063 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0651/2.22, allocations: 12.33 MB / 0.7183 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001524/2.222, allocations: 81.05 kB / 0.7184 GB, free: 78.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006083/2.228, allocations: 257.6 kB / 0.7186 GB, free: 78.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005662/2.234, allocations: 1.128 MB / 0.7197 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04119/2.275, allocations: 9.866 MB / 0.7294 GB, free: 77.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/2.394, allocations: 56.69 MB / 0.7847 GB, free: 34.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/2.411, allocations: 4.154 MB / 0.7888 GB, free: 32.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007823/2.419, allocations: 2.297 MB / 0.791 GB, free: 31.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03105/2.45, allocations: 9.42 MB / 0.8002 GB, free: 27.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/2.45, allocations: 58.22 kB / 0.8003 GB, free: 27.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 9.558e-06/2.45, allocations: 3.938 kB / 0.8003 GB, free: 27.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.1032/2.553, allocations: 18.07 MB / 0.8179 GB, free: 18.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/2.554, allocations: 216.6 kB / 0.8181 GB, free: 18.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02142/2.575, allocations: 4.774 MB / 0.8228 GB, free: 14.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001001/2.576, allocations: 57.7 kB / 0.8229 GB, free: 14.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006297/2.583, allocations: 3.777 MB / 0.8266 GB, free: 10.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/2.585, allocations: 0.81 MB / 0.8273 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/2.587, allocations: 128 kB / 0.8275 GB, free: 10 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001404/2.588, allocations: 0.5796 MB / 0.828 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007453/2.596, allocations: 2.238 MB / 0.8302 GB, free: 7.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/2.606, allocations: 6.202 MB / 0.8363 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02171/2.628, allocations: 9.194 MB / 0.8453 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003994/2.628, allocations: 40 kB / 0.8453 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.03916/2.667, allocations: 8.975 MB / 0.8541 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/2.668, allocations: 71.47 kB / 0.8541 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005691/2.668, allocations: 139.6 kB / 0.8543 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005311/2.674, allocations: 0.905 MB / 0.8551 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01745/2.691, allocations: 1.496 MB / 0.8566 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/2.711, allocations: 7.256 MB / 0.8637 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01688/2.728, allocations: 354.2 kB / 0.864 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003393/2.732, allocations: 399.5 kB / 0.8644 GB, free: 4.039 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.016/2.748, allocations: 2.57 MB / 0.8669 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003305/2.751, allocations: 426.5 kB / 0.8673 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6979/3.449, allocations: 3.53 MB / 0.8708 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/3.45, allocations: 28.3 kB / 0.8708 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.726e-05/3.45, allocations: 10.25 kB / 0.8708 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/3.45, allocations: 10.77 kB / 0.8708 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.041/3.491, allocations: 9.139 MB / 0.8797 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/3.491, allocations: 1.562 kB / 0.8797 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/3.493, allocations: 328.5 kB / 0.8801 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003673/3.497, allocations: 0.6946 MB / 0.8807 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006454/3.498, allocations: 34.19 kB / 0.8808 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/3.511, allocations: 6.562 MB / 0.8872 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/3.511, allocations: 3.281 kB / 0.8872 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/3.533, allocations: 6.164 MB / 0.8932 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008538/3.542, allocations: 0.7379 MB / 0.8939 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/3.545, allocations: 35.62 kB / 0.894 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004999/3.55, allocations: 112.8 kB / 0.8941 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/3.552, allocations: 122.9 kB / 0.8942 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007679/3.553, allocations: 58.25 kB / 0.8942 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01561/3.568, allocations: 3.012 MB / 0.8972 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.454e-06/3.568, allocations: 0 / 0.8972 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01562/3.584, allocations: 1.182 MB / 0.8983 GB, free: 102.5 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.001516/3.586, allocations: 178.1 kB / 0.8985 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02005/3.606, allocations: 5.68 MB / 0.904 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/3.606, allocations: 7.969 kB / 0.9041 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00698/3.613, allocations: 1.967 MB / 0.906 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/3.625, allocations: 0.5524 MB / 0.9065 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06178/3.687, allocations: 14.03 MB / 0.9202 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02045/3.708, allocations: 4.005 MB / 0.9241 GB, free: 93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/3.71, allocations: 336 kB / 0.9244 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.324e-06/3.71, allocations: 0 / 0.9244 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.3282/4.038, allocations: 116.5 MB / 1.038 GB, free: 19.09 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