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.001111/0.001111, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 90.62 kB / 261.8 MB, free: 1.613 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.2256/0.2256, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.91e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/0.601, allocations: 108.1 MB / 0.5715 GB, free: 3.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.6013, allocations: 86.39 kB / 0.5716 GB, free: 3.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2577/0.859, allocations: 104.4 MB / 0.6735 GB, free: 3.199 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.859, allocations: 0 / 0.6735 GB, free: 3.199 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000319/0.8594, allocations: 112 kB / 0.6736 GB, free: 3.09 MB / 474.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.01939/0.8788, allocations: 5.26 MB / 0.6787 GB, free: 13.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.8788, allocations: 8.031 kB / 0.6787 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02866/0.9075, allocations: 6.892 MB / 0.6855 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/0.9269, allocations: 6.876 MB / 0.6922 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.9273, allocations: 172 kB / 0.6923 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/0.9302, allocations: 319.8 kB / 0.6926 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01571/0.9459, allocations: 7.217 MB / 0.6997 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3544/1.3, allocations: 11.15 MB / 0.7106 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003593/1.301, allocations: 71.31 kB / 0.7106 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.302, allocations: 35.41 kB / 0.7107 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/1.304, allocations: 1.136 MB / 0.7118 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06753/1.372, allocations: 55.6 MB / 0.7661 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/1.376, allocations: 3.403 MB / 0.7694 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/1.378, allocations: 2.162 MB / 0.7715 GB, free: 71.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/1.379, allocations: 335.7 kB / 0.7718 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.379, allocations: 59.42 kB / 0.7719 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=199): time 5.21e-06/1.379, allocations: 0 / 0.7719 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=221): time 0.03618/1.415, allocations: 18.7 MB / 0.7902 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/1.415, allocations: 204.4 kB / 0.7904 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/1.422, allocations: 3.682 MB / 0.794 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/1.422, allocations: 29.31 kB / 0.794 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.425, allocations: 3.819 MB / 0.7977 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.426, allocations: 0.8222 MB / 0.7985 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.427, allocations: 0 / 0.7985 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003703/1.427, allocations: 0.591 MB / 0.7991 GB, free: 59.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.43, allocations: 2.144 MB / 0.8012 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/1.435, allocations: 6.207 MB / 0.8072 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/1.441, allocations: 3.615 MB / 0.8108 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/1.441, allocations: 42.53 kB / 0.8108 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01915/1.46, allocations: 8.164 MB / 0.8188 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.46, allocations: 69.34 kB / 0.8189 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/1.46, allocations: 147.4 kB / 0.819 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/1.463, allocations: 0.9442 MB / 0.8199 GB, free: 47.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/1.469, allocations: 1.569 MB / 0.8215 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/1.478, allocations: 7.083 MB / 0.8284 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/1.484, allocations: 229 kB / 0.8286 GB, free: 43.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001887/1.486, allocations: 413.1 kB / 0.829 GB, free: 43.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * 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 (828): * Single equations (assignments): 823 * 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.002619/1.489, allocations: 476.3 kB / 0.8294 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.49, allocations: 407.7 kB / 0.8298 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007496/1.498, allocations: 3.392 MB / 0.8331 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/1.498, allocations: 26.38 kB / 0.8332 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/1.498, allocations: 7.625 kB / 0.8332 GB, free: 41.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/1.498, allocations: 15.08 kB / 0.8332 GB, free: 41.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/1.519, allocations: 8.371 MB / 0.8414 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/1.519, allocations: 0 / 0.8414 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.521, allocations: 345 kB / 0.8417 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/1.523, allocations: 0.6748 MB / 0.8423 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003324/1.523, allocations: 7.516 kB / 0.8424 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/1.53, allocations: 6.203 MB / 0.8484 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.53, allocations: 0 / 0.8484 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009187/1.539, allocations: 6.182 MB / 0.8544 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.542, allocations: 0.7114 MB / 0.8551 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.543, allocations: 4 kB / 0.8551 GB, free: 25.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.545, allocations: 80.61 kB / 0.8552 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/1.546, allocations: 137.8 kB / 0.8554 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.546, allocations: 63.22 kB / 0.8554 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006449/1.553, allocations: 2.502 MB / 0.8579 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.72e-07/1.553, allocations: 0 / 0.8579 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00903/1.562, allocations: 1.028 MB / 0.8589 GB, free: 21.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (172): * Single equations (assignments): 167 * 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.0009219/1.563, allocations: 137.5 kB / 0.859 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009843/1.573, allocations: 5.406 MB / 0.8643 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.573, allocations: 0 / 0.8643 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003351/1.576, allocations: 1.901 MB / 0.8661 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/1.58, allocations: 454.8 kB / 0.8666 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.602, allocations: 9.194 MB / 0.8755 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005968/1.608, allocations: 4.12 MB / 0.8796 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005692/1.614, allocations: 2.181 MB / 0.8817 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/1.615, allocations: 273 kB / 0.882 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/1.615, allocations: 0 / 0.882 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of Templates: time 0.44/2.055, allocations: 36.43 MB / 0.9175 GB, free: 108.7 MB / 0.5105 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/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