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.002283/0.002283, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.119/2.119, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001063/0.001062, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.2791/0.2791, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.599e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5771/0.6949, allocations: 108.7 MB / 0.579 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.6953, allocations: 86.28 kB / 0.5791 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4383/1.134, allocations: 106.8 MB / 0.6834 GB, free: 8.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.134, allocations: 0 / 0.6834 GB, free: 8.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004304/1.134, allocations: 112 kB / 0.6835 GB, free: 8.02 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.02207/1.156, allocations: 5.259 MB / 0.6886 GB, free: 2.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.156, allocations: 8.031 kB / 0.6886 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05193/1.208, allocations: 6.896 MB / 0.6953 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0259/1.234, allocations: 6.875 MB / 0.702 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/1.235, allocations: 402.6 kB / 0.7024 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/1.237, allocations: 0.5309 MB / 0.703 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3786/1.616, allocations: 12.3 MB / 0.715 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/1.616, allocations: 77.59 kB / 0.715 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.618, allocations: 254.3 kB / 0.7153 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002697/1.621, allocations: 1.131 MB / 0.7164 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/1.653, allocations: 9.813 MB / 0.726 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07876/1.732, allocations: 56.74 MB / 0.7814 GB, free: 68.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/1.748, allocations: 4.114 MB / 0.7854 GB, free: 67.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/1.753, allocations: 2.26 MB / 0.7876 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0236/1.777, allocations: 9.502 MB / 0.7969 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/1.777, allocations: 54.66 kB / 0.7969 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 6.482e-06/1.777, allocations: 0 / 0.7969 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.06769/1.845, allocations: 15.83 MB / 0.8124 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/1.845, allocations: 202.5 kB / 0.8126 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0086/1.853, allocations: 4.213 MB / 0.8167 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005074/1.854, allocations: 52.92 kB / 0.8167 GB, free: 53.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002762/1.857, allocations: 3.632 MB / 0.8203 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.858, allocations: 0.8114 MB / 0.8211 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/1.859, allocations: 131.4 kB / 0.8212 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003717/1.859, allocations: 0.5884 MB / 0.8218 GB, free: 49.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.864, allocations: 2.167 MB / 0.8239 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007157/1.871, allocations: 6.113 MB / 0.8299 GB, free: 43.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007736/1.879, allocations: 3.618 MB / 0.8334 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.879, allocations: 40 kB / 0.8334 GB, free: 41.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.02248/1.902, allocations: 8.589 MB / 0.8418 GB, free: 34.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/1.902, allocations: 64 kB / 0.8419 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.902, allocations: 140 kB / 0.842 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/1.906, allocations: 0.9239 MB / 0.8429 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009124/1.915, allocations: 1.502 MB / 0.8444 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.928, allocations: 7.223 MB / 0.8514 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007574/1.935, allocations: 352.2 kB / 0.8518 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.937, allocations: 399.3 kB / 0.8522 GB, free: 24.47 MB / 0.4948 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 () * 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.001276/1.938, allocations: 0.6225 MB / 0.8528 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.939, allocations: 426.5 kB / 0.8532 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009608/1.949, allocations: 3.461 MB / 0.8566 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/1.949, allocations: 24 kB / 0.8566 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.949, allocations: 8 kB / 0.8566 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/1.949, allocations: 9.703 kB / 0.8566 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.974, allocations: 9.07 MB / 0.8655 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/1.974, allocations: 0 / 0.8655 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/1.977, allocations: 331.3 kB / 0.8658 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/1.981, allocations: 0.6911 MB / 0.8664 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003559/1.981, allocations: 32 kB / 0.8665 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.993, allocations: 6.543 MB / 0.8729 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.993, allocations: 4 kB / 0.8729 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/2.007, allocations: 6.139 MB / 0.8789 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/2.009, allocations: 0.7323 MB / 0.8796 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007544/2.01, allocations: 39.95 kB / 0.8796 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/2.014, allocations: 122.8 kB / 0.8797 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009892/2.015, allocations: 167.1 kB / 0.8799 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/2.015, allocations: 55.8 kB / 0.8799 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007481/2.022, allocations: 2.963 MB / 0.8828 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/2.022, allocations: 0 / 0.8828 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007954/2.03, allocations: 1.179 MB / 0.884 GB, free: 12.14 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 () * 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.0006836/2.031, allocations: 192.2 kB / 0.8842 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.046, allocations: 5.575 MB / 0.8896 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.046, allocations: 0.5 kB / 0.8896 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005199/2.051, allocations: 1.919 MB / 0.8915 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/2.055, allocations: 0.5198 MB / 0.892 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3881/2.443, allocations: 10.2 MB / 0.902 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.454, allocations: 4.117 MB / 0.906 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/2.456, allocations: 330.3 kB / 0.9063 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.456, allocations: 0 / 0.9063 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.2117/2.668, allocations: 111.8 MB / 1.015 GB, free: 58.93 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