Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001753, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000791/0.000791, allocations: 103.1 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3999/0.3999, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 4 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 62.95 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4458, allocations: 88.22 MB / 0.6046 GB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.446, allocations: 63.95 kB / 0.6046 GB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.4646, allocations: 7.282 MB / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4646, allocations: 0 / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4646, allocations: 8 kB / 0.6117 GB, free: 9.734 MB / 426.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.000842/0.4655, allocations: 0.6277 MB / 0.6124 GB, free: 9.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4655, allocations: 8.031 kB / 0.6124 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.4656, allocations: 52.28 kB / 0.6124 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.4658, allocations: 227 kB / 0.6126 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.4659, allocations: 33.38 kB / 0.6127 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.466, allocations: 56.28 kB / 0.6127 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.4666, allocations: 462.6 kB / 0.6132 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.4667, allocations: 8.094 kB / 0.6132 GB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.4667, allocations: 23.94 kB / 0.6132 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4667, allocations: 12 kB / 0.6132 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.4671, allocations: 260 kB / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.4695, allocations: 1.707 MB / 0.6151 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.4702, allocations: 412.5 kB / 0.6155 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.4704, allocations: 159.6 kB / 0.6157 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4705, allocations: 7.984 kB / 0.6157 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.4705, allocations: 54.5 kB / 0.6157 GB, free: 5.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.404e-06/0.4705, allocations: 0 / 0.6157 GB, free: 5.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007213/0.4713, allocations: 349.9 kB / 0.616 GB, free: 4.988 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4714, allocations: 277.4 kB / 0.6163 GB, free: 4.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.4716, allocations: 246.6 kB / 0.6165 GB, free: 4.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4717, allocations: 33.7 kB / 0.6166 GB, free: 4.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4718, allocations: 243.6 kB / 0.6168 GB, free: 4.129 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.472, allocations: 181.4 kB / 0.617 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.472, allocations: 16 kB / 0.617 GB, free: 3.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4721, allocations: 346.8 kB / 0.6173 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4723, allocations: 117.9 kB / 0.6174 GB, free: 3.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.4727, allocations: 413.6 kB / 0.6178 GB, free: 2.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.4733, allocations: 0.5685 MB / 0.6184 GB, free: 2.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4733, allocations: 4 kB / 0.6184 GB, free: 2.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007983/0.4741, allocations: 0.5635 MB / 0.6189 GB, free: 1.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4742, allocations: 8 kB / 0.619 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4742, allocations: 12 kB / 0.619 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.4742, allocations: 12 kB / 0.619 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.4748, allocations: 183.7 kB / 0.6192 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.4748, allocations: 19.94 kB / 0.6192 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.4751, allocations: 63.38 kB / 0.6192 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.4751, allocations: 32.31 kB / 0.6193 GB, free: 1.328 MB / 426.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.0002175/0.4754, allocations: 189.5 kB / 0.6194 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.4756, allocations: 39.62 kB / 0.6195 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.4756, allocations: 37.7 kB / 0.6195 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4756, allocations: 11.94 kB / 0.6195 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4757, allocations: 0.625 kB / 0.6195 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4757, allocations: 4 kB / 0.6195 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.4767, allocations: 425.1 kB / 0.6199 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4767, allocations: 0 / 0.6199 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.4773, allocations: 131.9 kB / 0.6201 GB, free: 460 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4773, allocations: 7.938 kB / 0.6201 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.4773, allocations: 11.98 kB / 0.6201 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.4773, allocations: 7.938 kB / 0.6201 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4773, allocations: 4 kB / 0.6201 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.4783, allocations: 1.088 MB / 0.6212 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.4784, allocations: 112.6 kB / 0.6213 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.4784, allocations: 16 kB / 0.6213 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.4788, allocations: 11.88 kB / 0.6213 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.4788, allocations: 39.89 kB / 0.6213 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.4789, allocations: 12 kB / 0.6213 GB, free: 15.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.479, allocations: 170 kB / 0.6215 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.479, allocations: 0 / 0.6215 GB, free: 14.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000786/0.4798, allocations: 139.7 kB / 0.6216 GB, free: 14.8 MB / 442.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.0001704/0.48, allocations: 115.6 kB / 0.6217 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.4805, allocations: 337.8 kB / 0.6221 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4805, allocations: 0 / 0.6221 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.4807, allocations: 131.8 kB / 0.6222 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.4819, allocations: 90.81 kB / 0.6223 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.4849, allocations: 2.431 MB / 0.6247 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.4853, allocations: 0.8278 MB / 0.6255 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.4855, allocations: 48.16 kB / 0.6255 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.4856, allocations: 35.38 kB / 0.6255 GB, free: 10.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4856, allocations: 4 kB / 0.6255 GB, free: 10.7 MB / 442.7 MB Notification: Performance of Templates: time 0.007511/0.4931, allocations: 3.803 MB / 0.6293 GB, free: 6.938 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches