Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.595/1.595, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008409/0.0008408, allocations: 90.88 kB / 270.2 MB, free: 13.36 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.1984/0.1984, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.497, allocations: 94.95 MB / 0.5715 GB, free: 4.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4973, allocations: 79.45 kB / 0.5716 GB, free: 4.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3207/0.818, allocations: 90.63 MB / 0.6601 GB, free: 2.266 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8181, allocations: 0 / 0.6601 GB, free: 2.266 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000319/0.8184, allocations: 92 kB / 0.6601 GB, free: 2.176 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06193/0.8803, allocations: 9.98 MB / 0.6699 GB, free: 8.113 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.8804, allocations: 16.03 kB / 0.6699 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009416/0.8898, allocations: 2.079 MB / 0.6719 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.9002, allocations: 3.418 MB / 0.6753 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.9007, allocations: 345.1 kB / 0.6756 GB, free: 2.191 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/0.9038, allocations: 475.6 kB / 0.6761 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04417/0.9479, allocations: 15.43 MB / 0.6911 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.9483, allocations: 67.39 kB / 0.6912 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/0.9505, allocations: 223.9 kB / 0.6914 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002537/0.953, allocations: 1.113 MB / 0.6925 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04183/0.9949, allocations: 15.35 MB / 0.7075 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.389, allocations: 55.62 MB / 0.7618 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04139/1.431, allocations: 7.254 MB / 0.7689 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/1.441, allocations: 6.559 MB / 0.7753 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.442, allocations: 56.97 kB / 0.7753 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 5.5e-06/1.442, allocations: 0 / 0.7753 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.005264/1.447, allocations: 3.995 MB / 0.7792 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.447, allocations: 146.5 kB / 0.7794 GB, free: 75.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008216/1.455, allocations: 4.284 MB / 0.7836 GB, free: 74.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/1.455, allocations: 45.33 kB / 0.7836 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.458, allocations: 3.601 MB / 0.7871 GB, free: 71.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008363/1.458, allocations: 0.7222 MB / 0.7878 GB, free: 71.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/1.459, allocations: 132.5 kB / 0.788 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002949/1.459, allocations: 0.5902 MB / 0.7885 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/1.462, allocations: 2.208 MB / 0.7907 GB, free: 69.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/1.466, allocations: 6.471 MB / 0.797 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/1.471, allocations: 3.708 MB / 0.8006 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-05/1.471, allocations: 43.88 kB / 0.8007 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01286/1.484, allocations: 8.479 MB / 0.809 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.435e-05/1.484, allocations: 69.72 kB / 0.809 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.484, allocations: 152.5 kB / 0.8092 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/1.484, allocations: 228.5 kB / 0.8094 GB, free: 59.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/1.489, allocations: 1.617 MB / 0.811 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001851/1.489, allocations: 294.4 kB / 0.8112 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/1.496, allocations: 0.9304 MB / 0.8122 GB, free: 58.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.498, allocations: 438.4 kB / 0.8126 GB, free: 58.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005216/1.503, allocations: 2.318 MB / 0.8148 GB, free: 57.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/1.504, allocations: 400.4 kB / 0.8152 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/1.507, allocations: 2.544 MB / 0.8177 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/1.507, allocations: 19.44 kB / 0.8177 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.507, allocations: 7.75 kB / 0.8177 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.507, allocations: 7.031 kB / 0.8177 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/1.515, allocations: 4.291 MB / 0.8219 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.515, allocations: 1.625 kB / 0.8219 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.517, allocations: 341.5 kB / 0.8222 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/1.517, allocations: 7.562 kB / 0.8223 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/1.517, allocations: 38.55 kB / 0.8223 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/1.517, allocations: 7.688 kB / 0.8223 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.517, allocations: 0 / 0.8223 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/1.522, allocations: 4.895 MB / 0.8271 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.523, allocations: 0.4902 MB / 0.8276 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.524, allocations: 31.12 kB / 0.8276 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.525, allocations: 63.83 kB / 0.8277 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.525, allocations: 98.5 kB / 0.8277 GB, free: 51.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.525, allocations: 54.67 kB / 0.8278 GB, free: 51.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00487/1.53, allocations: 2.993 MB / 0.8307 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.31e-07/1.53, allocations: 0 / 0.8307 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006648/1.537, allocations: 1.35 MB / 0.832 GB, free: 48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004852/1.537, allocations: 175.7 kB / 0.8322 GB, free: 47.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007738/1.545, allocations: 5.002 MB / 0.8371 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.545, allocations: 0 / 0.8371 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/1.547, allocations: 1.273 MB / 0.8383 GB, free: 42.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.55, allocations: 489.5 kB / 0.8388 GB, free: 42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.569, allocations: 12.47 MB / 0.851 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/1.572, allocations: 3.676 MB / 0.8546 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005388/1.578, allocations: 2.058 MB / 0.8566 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.579, allocations: 305.6 kB / 0.8569 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.483e-06/1.579, allocations: 8 kB / 0.8569 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.07379/1.653, allocations: 40.18 MB / 0.8961 GB, free: 2.734 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches