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.001049/0.001048, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.266/1.266, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007727/0.0007726, allocations: 99.64 kB / 267.1 MB, free: 9.273 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.3286/0.3286, allocations: 43.47 MB / 358.6 MB, free: 52.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.463e-05, allocations: 0 / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09823, allocations: 58.84 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.4267, allocations: 108.7 MB / 0.579 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.427, allocations: 87.23 kB / 0.5791 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4718/0.8988, allocations: 106.8 MB / 0.6834 GB, free: 84.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8988, allocations: 0 / 0.6834 GB, free: 84.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002932/0.8991, allocations: 103.4 kB / 0.6835 GB, free: 84.59 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.01506/0.9142, allocations: 5.26 MB / 0.6886 GB, free: 82.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9143, allocations: 9.312 kB / 0.6886 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.939, allocations: 6.89 MB / 0.6953 GB, free: 82.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/0.9558, allocations: 6.898 MB / 0.7021 GB, free: 81.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.9562, allocations: 403 kB / 0.7025 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.9585, allocations: 0.5283 MB / 0.703 GB, free: 81.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.9867, allocations: 12.3 MB / 0.715 GB, free: 78.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004025/0.9871, allocations: 77.95 kB / 0.7151 GB, free: 78.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/0.9889, allocations: 257.8 kB / 0.7153 GB, free: 78.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.9906, allocations: 1.127 MB / 0.7164 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/1.008, allocations: 9.812 MB / 0.726 GB, free: 77.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05242/1.061, allocations: 56.75 MB / 0.7814 GB, free: 34.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008512/1.069, allocations: 4.1 MB / 0.7854 GB, free: 32.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/1.072, allocations: 2.255 MB / 0.7876 GB, free: 31.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01425/1.086, allocations: 9.494 MB / 0.7969 GB, free: 26.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.086, allocations: 55.12 kB / 0.7969 GB, free: 26.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 4.708e-06/1.086, allocations: 0 / 0.7969 GB, free: 26.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.03731/1.124, allocations: 15.84 MB / 0.8124 GB, free: 18.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/1.124, allocations: 208.6 kB / 0.8126 GB, free: 18.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/1.131, allocations: 4.207 MB / 0.8167 GB, free: 14.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003952/1.131, allocations: 57.7 kB / 0.8168 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.133, allocations: 3.776 MB / 0.8205 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008601/1.134, allocations: 0.8134 MB / 0.8213 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/1.135, allocations: 132 kB / 0.8214 GB, free: 10.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004328/1.135, allocations: 0.5835 MB / 0.822 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/1.138, allocations: 2.167 MB / 0.8241 GB, free: 8.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004348/1.142, allocations: 6.107 MB / 0.83 GB, free: 420 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007462/1.15, allocations: 3.782 MB / 0.8337 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.15, allocations: 43.95 kB / 0.8338 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.01646/1.167, allocations: 8.76 MB / 0.8423 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.167, allocations: 64 kB / 0.8424 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/1.167, allocations: 140 kB / 0.8425 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/1.169, allocations: 0.9266 MB / 0.8434 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004882/1.174, allocations: 1.495 MB / 0.8449 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.185, allocations: 7.38 MB / 0.8521 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.189, allocations: 355.8 kB / 0.8524 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.191, allocations: 399.2 kB / 0.8528 GB, free: 12.71 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 () * 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.001594/1.192, allocations: 0.6013 MB / 0.8534 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.193, allocations: 430.4 kB / 0.8538 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006831/1.2, allocations: 3.459 MB / 0.8572 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.2, allocations: 28 kB / 0.8572 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.2, allocations: 8 kB / 0.8572 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.2, allocations: 14.34 kB / 0.8572 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.22, allocations: 9.062 MB / 0.8661 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.221, allocations: 3.938 kB / 0.8661 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2452/1.466, allocations: 329.8 kB / 0.8664 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/1.468, allocations: 0.6897 MB / 0.8671 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004232/1.469, allocations: 42.66 kB / 0.8671 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008166/1.477, allocations: 6.532 MB / 0.8735 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/1.477, allocations: 4.781 kB / 0.8735 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00834/1.485, allocations: 6.13 MB / 0.8795 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.487, allocations: 0.7332 MB / 0.8802 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/1.487, allocations: 32.34 kB / 0.8802 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.489, allocations: 112 kB / 0.8803 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.489, allocations: 132.9 kB / 0.8805 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.489, allocations: 56.77 kB / 0.8805 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003813/1.493, allocations: 2.969 MB / 0.8834 GB, free: 101 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.493, allocations: 0.8438 kB / 0.8834 GB, free: 101 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005098/1.498, allocations: 1.181 MB / 0.8846 GB, free: 101 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.0004737/1.499, allocations: 175.9 kB / 0.8847 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007995/1.507, allocations: 5.571 MB / 0.8902 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.507, allocations: 0 / 0.8902 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/1.509, allocations: 1.914 MB / 0.8921 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.512, allocations: 0.5264 MB / 0.8926 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.528, allocations: 9.249 MB / 0.9016 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005405/1.534, allocations: 4.106 MB / 0.9056 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005969/1.54, allocations: 2.104 MB / 0.9077 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009217/1.541, allocations: 281.8 kB / 0.9079 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/1.541, allocations: 3.844 kB / 0.9079 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.06658/1.607, allocations: 40.84 MB / 0.9478 GB, free: 95.77 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