Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008845, allocations: 99.31 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3357/0.3357, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003157, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 61.89 MB / 0.5096 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4438, allocations: 109.9 MB / 0.6169 GB, free: 1.172 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4441, allocations: 87.95 kB / 0.617 GB, free: 1.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5226/0.9667, allocations: 103.9 MB / 0.7185 GB, free: 94.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9668, allocations: 0 / 0.7185 GB, free: 94.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006846/0.9675, allocations: 103.4 kB / 0.7186 GB, free: 94.82 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.02134/0.9888, allocations: 5.548 MB / 0.724 GB, free: 92.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9889, allocations: 12.83 kB / 0.724 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/1.015, allocations: 6.853 MB / 0.7307 GB, free: 91.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.033, allocations: 6.522 MB / 0.7371 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/1.033, allocations: 391 kB / 0.7374 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/1.036, allocations: 0.5085 MB / 0.7379 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/1.065, allocations: 11.94 MB / 0.7496 GB, free: 82.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004861/1.065, allocations: 72.59 kB / 0.7497 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/1.068, allocations: 249.7 kB / 0.7499 GB, free: 82.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.07, allocations: 1.062 MB / 0.7509 GB, free: 82.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.09, allocations: 9.576 MB / 0.7603 GB, free: 78.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05561/1.146, allocations: 55.11 MB / 0.8141 GB, free: 26.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008667/1.155, allocations: 3.958 MB / 0.818 GB, free: 22.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/1.168, allocations: 8.875 MB / 0.8266 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.168, allocations: 59.44 kB / 0.8267 GB, free: 13.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 4.689e-06/1.168, allocations: 0 / 0.8267 GB, free: 13.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.04112/1.209, allocations: 17.25 MB / 0.8435 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/1.209, allocations: 197.5 kB / 0.8437 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007361/1.216, allocations: 4.133 MB / 0.8478 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/1.217, allocations: 53.7 kB / 0.8478 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/1.219, allocations: 3.662 MB / 0.8514 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008637/1.22, allocations: 0.7431 MB / 0.8521 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/1.221, allocations: 124 kB / 0.8522 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004755/1.221, allocations: 0.5665 MB / 0.8528 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.224, allocations: 2.066 MB / 0.8548 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/1.23, allocations: 5.898 MB / 0.8606 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/1.235, allocations: 3.436 MB / 0.8639 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.236, allocations: 40 kB / 0.864 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01797/1.254, allocations: 8.443 MB / 0.8722 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.254, allocations: 68.06 kB / 0.8723 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002784/1.254, allocations: 136 kB / 0.8724 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/1.257, allocations: 0.9248 MB / 0.8733 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/1.262, allocations: 1.423 MB / 0.8747 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008855/1.271, allocations: 7.414 MB / 0.8819 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.276, allocations: 327.5 kB / 0.8822 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.277, allocations: 380.2 kB / 0.8826 GB, free: 1.961 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (754): * Single equations (assignments): 749 * 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.3106/1.588, allocations: 2.478 MB / 0.885 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.589, allocations: 412.1 kB / 0.8854 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/1.595, allocations: 3.167 MB / 0.8885 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.595, allocations: 20.86 kB / 0.8885 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.595, allocations: 7.406 kB / 0.8885 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/1.595, allocations: 12.64 kB / 0.8886 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/1.612, allocations: 8.431 MB / 0.8968 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.612, allocations: 2.5 kB / 0.8968 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.614, allocations: 289.2 kB / 0.8971 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/1.616, allocations: 0.6888 MB / 0.8977 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/1.616, allocations: 39.83 kB / 0.8978 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00719/1.623, allocations: 6.728 MB / 0.9043 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.623, allocations: 5.438 kB / 0.9044 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/1.632, allocations: 5.661 MB / 0.9099 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.634, allocations: 456.2 kB / 0.9103 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.635, allocations: 38.3 kB / 0.9104 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/1.638, allocations: 93.95 kB / 0.9104 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.638, allocations: 118.9 kB / 0.9106 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.638, allocations: 47.53 kB / 0.9106 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006817/1.645, allocations: 2.936 MB / 0.9135 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/1.645, allocations: 2.906 kB / 0.9135 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007895/1.653, allocations: 1.119 MB / 0.9146 GB, free: 118.8 MB / 0.5261 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 (141): * Single equations (assignments): 136 * 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.0006079/1.654, allocations: 168.9 kB / 0.9147 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.664, allocations: 5.281 MB / 0.9199 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.664, allocations: 2.938 kB / 0.9199 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003408/1.668, allocations: 1.786 MB / 0.9216 GB, free: 116 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.672, allocations: 0.5278 MB / 0.9221 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.698, allocations: 12.68 MB / 0.9345 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008951/1.707, allocations: 3.963 MB / 0.9384 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006323/1.713, allocations: 2.002 MB / 0.9403 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.714, allocations: 269.2 kB / 0.9406 GB, free: 108 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/1.714, allocations: 0 / 0.9406 GB, free: 108 MB / 0.5261 GB Notification: Performance of Templates: time 0.0738/1.788, allocations: 39.06 MB / 0.9788 GB, free: 99.86 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches