Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009049/0.0009049, allocations: 99.17 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1837/0.1837, allocations: 45.16 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.417e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3925/0.501, allocations: 96.68 MB / 0.5988 GB, free: 6.055 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5013, allocations: 72.09 kB / 0.5988 GB, free: 6.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2263/0.7277, allocations: 90.82 MB / 0.6875 GB, free: 3.348 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.7277, allocations: 0 / 0.6875 GB, free: 3.348 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003192/0.728, allocations: 100 kB / 0.6876 GB, free: 3.25 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06404/0.7921, allocations: 9.885 MB / 0.6973 GB, free: 9.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7921, allocations: 12.02 kB / 0.6973 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009357/0.8015, allocations: 2.08 MB / 0.6993 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007939/0.8095, allocations: 3.402 MB / 0.7026 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.8097, allocations: 148 kB / 0.7028 GB, free: 3.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.8122, allocations: 287.8 kB / 0.7031 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01764/0.8298, allocations: 9.681 MB / 0.7125 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/0.8587, allocations: 13.18 MB / 0.7254 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/0.859, allocations: 67.38 kB / 0.7254 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002713/0.8618, allocations: 28 kB / 0.7255 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002724/0.8645, allocations: 1.116 MB / 0.7266 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.381/1.246, allocations: 53.47 MB / 0.7788 GB, free: 99.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009347/1.255, allocations: 6.564 MB / 0.7852 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003568/1.259, allocations: 2.764 MB / 0.7879 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008065/1.267, allocations: 6.43 MB / 0.7942 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.267, allocations: 56.94 kB / 0.7942 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.777e-06/1.267, allocations: 0 / 0.7942 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.003523/1.27, allocations: 2.59 MB / 0.7968 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.27, allocations: 144.8 kB / 0.7969 GB, free: 95.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007435/1.278, allocations: 3.74 MB / 0.8005 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.278, allocations: 25.7 kB / 0.8006 GB, free: 94.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/1.281, allocations: 3.641 MB / 0.8041 GB, free: 92.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009243/1.282, allocations: 0.7095 MB / 0.8048 GB, free: 92.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.282, allocations: 0 / 0.8048 GB, free: 92.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000501/1.283, allocations: 0.5932 MB / 0.8054 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.286, allocations: 2.075 MB / 0.8074 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/1.292, allocations: 6.441 MB / 0.8137 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/1.299, allocations: 3.621 MB / 0.8172 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003272/1.3, allocations: 44.16 kB / 0.8173 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01403/1.314, allocations: 7.583 MB / 0.8247 GB, free: 84.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.314, allocations: 76.58 kB / 0.8248 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/1.314, allocations: 157.2 kB / 0.8249 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/1.314, allocations: 232 kB / 0.8251 GB, free: 84.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0051/1.319, allocations: 1.669 MB / 0.8268 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001891/1.32, allocations: 307.8 kB / 0.8271 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.325, allocations: 0.7706 MB / 0.8278 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008186/1.326, allocations: 454.1 kB / 0.8282 GB, free: 83.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * 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.001001/1.327, allocations: 0.4907 MB / 0.8287 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008205/1.328, allocations: 374.6 kB / 0.8291 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/1.331, allocations: 2.399 MB / 0.8314 GB, free: 81.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.331, allocations: 22.84 kB / 0.8314 GB, free: 81.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.331, allocations: 0 / 0.8314 GB, free: 81.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/1.331, allocations: 9.609 kB / 0.8315 GB, free: 81.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/1.338, allocations: 3.197 MB / 0.8346 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.338, allocations: 3.312 kB / 0.8346 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.34, allocations: 350 kB / 0.8349 GB, free: 80.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-05/1.34, allocations: 5.719 kB / 0.8349 GB, free: 80.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/1.34, allocations: 10.91 kB / 0.8349 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.34, allocations: 15.34 kB / 0.8349 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.34, allocations: 3.953 kB / 0.835 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/1.345, allocations: 4.699 MB / 0.8395 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.346, allocations: 458.8 kB / 0.84 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008486/1.347, allocations: 7.719 kB / 0.84 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.349, allocations: 32.23 kB / 0.84 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.349, allocations: 97.39 kB / 0.8401 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.349, allocations: 47.11 kB / 0.8402 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004861/1.354, allocations: 2.508 MB / 0.8426 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.354, allocations: 0 / 0.8426 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007752/1.362, allocations: 1.231 MB / 0.8438 GB, free: 76.97 MB / 0.5261 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 () * 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.0008534/1.363, allocations: 154.5 kB / 0.844 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008094/1.371, allocations: 4.669 MB / 0.8485 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.371, allocations: 0 / 0.8485 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.373, allocations: 1.221 MB / 0.8497 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.376, allocations: 386.5 kB / 0.8501 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.395, allocations: 8.672 MB / 0.8585 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005371/1.4, allocations: 3.687 MB / 0.8621 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005194/1.405, allocations: 2.086 MB / 0.8642 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009777/1.406, allocations: 295 kB / 0.8645 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.914e-06/1.406, allocations: 0 / 0.8645 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.05651/1.463, allocations: 34 MB / 0.8977 GB, free: 40.99 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches