Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.8 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.727/1.727, 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.0008215/0.0008215, allocations: 90.86 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.2212/0.2212, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 12 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.5325, allocations: 86.11 MB / 0.5628 GB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5328, allocations: 66.95 kB / 0.5629 GB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0189/0.5517, allocations: 7.099 MB / 0.5698 GB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.845e-06/0.5519, allocations: 3.984 kB / 0.5698 GB, free: 7.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.5519, allocations: 8 kB / 0.5699 GB, free: 7.844 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001072/0.553, allocations: 0.6264 MB / 0.5705 GB, free: 7.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.553, allocations: 8.031 kB / 0.5705 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5532, allocations: 51.44 kB / 0.5705 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.5534, allocations: 226.6 kB / 0.5707 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.5534, allocations: 32.06 kB / 0.5708 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/0.5535, allocations: 58.97 kB / 0.5708 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.5542, allocations: 448.2 kB / 0.5713 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.5542, allocations: 11.72 kB / 0.5713 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.5543, allocations: 19.19 kB / 0.5713 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5543, allocations: 16 kB / 0.5713 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.5547, allocations: 261 kB / 0.5715 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.557, allocations: 1.696 MB / 0.5732 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.5575, allocations: 424 kB / 0.5736 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.5576, allocations: 7.984 kB / 0.5736 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.5576, allocations: 52.77 kB / 0.5737 GB, free: 4.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.215e-06/0.5576, allocations: 0 / 0.5737 GB, free: 4.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006891/0.5583, allocations: 349.7 kB / 0.574 GB, free: 3.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5585, allocations: 269.5 kB / 0.5743 GB, free: 3.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5587, allocations: 223.8 kB / 0.5745 GB, free: 3.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.5588, allocations: 35.64 kB / 0.5745 GB, free: 3.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.5589, allocations: 241.1 kB / 0.5747 GB, free: 3.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.559, allocations: 184.9 kB / 0.5749 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.5591, allocations: 10.19 kB / 0.5749 GB, free: 3.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5592, allocations: 356.8 kB / 0.5753 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.5594, allocations: 115.6 kB / 0.5754 GB, free: 2.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.5598, allocations: 409.7 kB / 0.5758 GB, free: 2.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.56, allocations: 181.5 kB / 0.5759 GB, free: 2.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5601, allocations: 8 kB / 0.5759 GB, free: 2.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007853/0.5608, allocations: 0.5635 MB / 0.5765 GB, free: 1.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.5609, allocations: 11.62 kB / 0.5765 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.5609, allocations: 15.95 kB / 0.5765 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.5609, allocations: 16 kB / 0.5765 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.5615, allocations: 182.7 kB / 0.5767 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.5615, allocations: 23.86 kB / 0.5767 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.5617, allocations: 61.56 kB / 0.5768 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.5618, allocations: 31.25 kB / 0.5768 GB, free: 1.258 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0002133/0.562, allocations: 188.1 kB / 0.577 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5622, allocations: 35.62 kB / 0.577 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.5623, allocations: 43.08 kB / 0.5771 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5623, allocations: 15.95 kB / 0.5771 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.5623, allocations: 4 kB / 0.5771 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5623, allocations: 3.984 kB / 0.5771 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.5632, allocations: 417.1 kB / 0.5775 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5632, allocations: 0 / 0.5775 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.5638, allocations: 123.1 kB / 0.5776 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5638, allocations: 4 kB / 0.5776 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.5638, allocations: 17.12 kB / 0.5776 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.5638, allocations: 4 kB / 0.5776 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5638, allocations: 7.891 kB / 0.5776 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.5647, allocations: 1.166 MB / 0.5788 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.5648, allocations: 123.6 kB / 0.5789 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.5649, allocations: 10.75 kB / 0.5789 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.5653, allocations: 11.62 kB / 0.5789 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5653, allocations: 27.39 kB / 0.5789 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.5653, allocations: 23.38 kB / 0.579 GB, free: 15.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.5655, allocations: 166.5 kB / 0.5791 GB, free: 15.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5655, allocations: 0 / 0.5791 GB, free: 15.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007576/0.5663, allocations: 141.2 kB / 0.5793 GB, free: 14.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.0001831/0.5664, allocations: 121.7 kB / 0.5794 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.567, allocations: 345.5 kB / 0.5797 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.567, allocations: 3.938 kB / 0.5797 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.5672, allocations: 126.3 kB / 0.5798 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.5679, allocations: 79.12 kB / 0.5799 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.571, allocations: 2.43 MB / 0.5823 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.5714, allocations: 0.8434 MB / 0.5831 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000191/0.5716, allocations: 52.16 kB / 0.5832 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.5717, allocations: 35.44 kB / 0.5832 GB, free: 10.98 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5717, allocations: 0 / 0.5832 GB, free: 10.98 MB / 394.7 MB Notification: Performance of Templates: time 0.007827/0.5795, allocations: 3.733 MB / 0.5868 GB, free: 7.281 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches