Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 100.2 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 187.6 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3108/0.4288, allocations: 73.53 MB / 0.5322 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05157/0.4804, allocations: 15.65 MB / 0.5475 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03295/0.5135, allocations: 359 kB / 0.5478 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01846/0.532, allocations: 3.657 MB / 0.5514 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05256/0.5846, allocations: 10.27 MB / 0.5614 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00702/0.5917, allocations: 483 kB / 0.5619 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008031/0.5998, allocations: 2.41 MB / 0.5642 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009792/0.6096, allocations: 4.515 MB / 0.5687 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.6128, allocations: 1.183 MB / 0.5698 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/0.6173, allocations: 1.998 MB / 0.5718 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.6186, allocations: 192 kB / 0.5719 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.6208, allocations: 0.5658 MB / 0.5725 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002755/0.6236, allocations: 1.734 MB / 0.5742 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.6256, allocations: 0.9907 MB / 0.5752 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.636, allocations: 6.727 MB / 0.5817 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6361, allocations: 4 kB / 0.5817 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.6361, allocations: 0 / 0.5817 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003449/0.6365, allocations: 4 kB / 0.5817 GB, free: 2.797 MB / 414.1 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.08262/0.7191, allocations: 9.673 MB / 0.5912 GB, free: 9.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.7192, allocations: 8.031 kB / 0.5912 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/0.7289, allocations: 2.177 MB / 0.5933 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009487/0.7384, allocations: 3.147 MB / 0.5964 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.7388, allocations: 295.5 kB / 0.5967 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002801/0.7416, allocations: 407.6 kB / 0.5971 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05278/0.7944, allocations: 19.53 MB / 0.6161 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.7947, allocations: 55.44 kB / 0.6162 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.7961, allocations: 183.8 kB / 0.6164 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005705/0.8018, allocations: 2.345 MB / 0.6187 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05251/0.8543, allocations: 22.38 MB / 0.6405 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07744/0.9318, allocations: 52.45 MB / 0.6917 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0659/0.9977, allocations: 9.184 MB / 0.7007 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.9994, allocations: 340.6 kB / 0.701 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.9995, allocations: 63.83 kB / 0.7011 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.248e-06/0.9995, allocations: 0 / 0.7011 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.4893/1.489, allocations: 16.37 MB / 0.7171 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.489, allocations: 151 kB / 0.7172 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007624/1.497, allocations: 4.674 MB / 0.7218 GB, free: 126 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.497, allocations: 54.73 kB / 0.7218 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.499, allocations: 3.489 MB / 0.7252 GB, free: 124 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.5, allocations: 0.8403 MB / 0.7261 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/1.501, allocations: 131.9 kB / 0.7262 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003379/1.501, allocations: 0.589 MB / 0.7268 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004404/1.506, allocations: 3.145 MB / 0.7298 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006273/1.512, allocations: 7.411 MB / 0.7371 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00659/1.518, allocations: 4.687 MB / 0.7416 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/1.519, allocations: 49 kB / 0.7417 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.0186/1.537, allocations: 10.55 MB / 0.752 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.537, allocations: 74.53 kB / 0.7521 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.538, allocations: 154.8 kB / 0.7522 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/1.538, allocations: 224 kB / 0.7524 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006138/1.544, allocations: 1.798 MB / 0.7542 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003239/1.544, allocations: 299.6 kB / 0.7545 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007095/1.551, allocations: 0.9213 MB / 0.7554 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/1.553, allocations: 0.5132 MB / 0.7559 GB, free: 111.8 MB / 0.5294 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 (855): * Single equations (assignments): 852 * 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.005097/1.558, allocations: 2.317 MB / 0.7581 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.559, allocations: 414.6 kB / 0.7585 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/1.565, allocations: 4.855 MB / 0.7633 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/1.565, allocations: 25.17 kB / 0.7633 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/1.565, allocations: 5.562 kB / 0.7633 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/1.565, allocations: 15.25 kB / 0.7633 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.581, allocations: 11.51 MB / 0.7746 GB, free: 99.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.581, allocations: 4 kB / 0.7746 GB, free: 99.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.583, allocations: 0.6009 MB / 0.7751 GB, free: 99.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.975e-05/1.583, allocations: 16 kB / 0.7752 GB, free: 99.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.584, allocations: 146.3 kB / 0.7753 GB, free: 98.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/1.584, allocations: 23.33 kB / 0.7753 GB, free: 98.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.584, allocations: 10.72 kB / 0.7753 GB, free: 98.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008336/1.592, allocations: 9.841 MB / 0.7849 GB, free: 90.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.593, allocations: 0.5108 MB / 0.7854 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005381/1.594, allocations: 46.77 kB / 0.7855 GB, free: 90.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.595, allocations: 88.08 kB / 0.7856 GB, free: 90.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/1.596, allocations: 242.3 kB / 0.7858 GB, free: 90.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.596, allocations: 158.7 kB / 0.7859 GB, free: 89.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003406/1.599, allocations: 2.934 MB / 0.7888 GB, free: 87.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.599, allocations: 0 / 0.7888 GB, free: 87.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006605/1.606, allocations: 1.363 MB / 0.7901 GB, free: 86.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (208): * Single equations (assignments): 205 * 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.0005307/1.607, allocations: 193.4 kB / 0.7903 GB, free: 85.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008272/1.615, allocations: 7.062 MB / 0.7972 GB, free: 79.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.615, allocations: 0 / 0.7972 GB, free: 79.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/1.617, allocations: 2.436 MB / 0.7996 GB, free: 76.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/1.62, allocations: 0.4893 MB / 0.8001 GB, free: 76.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.638, allocations: 14.09 MB / 0.8138 GB, free: 62.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.641, allocations: 3.694 MB / 0.8175 GB, free: 58.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00571/1.646, allocations: 2.308 MB / 0.8197 GB, free: 56.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.648, allocations: 0.5925 MB / 0.8203 GB, free: 55.63 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/1.648, allocations: 0 / 0.8203 GB, free: 55.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.09685/1.745, allocations: 56.41 MB / 0.8754 GB, free: 15.79 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches