Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009425/0.0009425, allocations: 106 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3893/0.3893, allocations: 45.24 MB / 394.7 MB, free: 31.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 4 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4703, allocations: 63.25 MB / 0.5193 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.6548, allocations: 89.65 MB / 0.6068 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.6552, allocations: 67.94 kB / 0.6069 GB, free: 13.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02875/0.6839, allocations: 7.478 MB / 0.6142 GB, free: 6.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.684, allocations: 0 / 0.6142 GB, free: 6.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.684, allocations: 0 / 0.6142 GB, free: 6.227 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007271/0.6847, allocations: 439.1 kB / 0.6146 GB, free: 5.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.6848, allocations: 12.03 kB / 0.6146 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.681e-05/0.6849, allocations: 109.8 kB / 0.6147 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.6852, allocations: 87.27 kB / 0.6148 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.6855, allocations: 242.2 kB / 0.615 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.6856, allocations: 150.6 kB / 0.6152 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.6857, allocations: 154.6 kB / 0.6153 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.6858, allocations: 105 kB / 0.6154 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.6858, allocations: 79.28 kB / 0.6155 GB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.6859, allocations: 150.6 kB / 0.6156 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.715e-05/0.686, allocations: 150.6 kB / 0.6158 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.6861, allocations: 154.5 kB / 0.6159 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.6865, allocations: 453.9 kB / 0.6164 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6866, allocations: 169.1 kB / 0.6165 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.6866, allocations: 75.28 kB / 0.6166 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.6867, allocations: 105.8 kB / 0.6167 GB, free: 3.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.6867, allocations: 0 / 0.6167 GB, free: 3.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.6868, allocations: 33.64 kB / 0.6167 GB, free: 3.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.6869, allocations: 186.1 kB / 0.6169 GB, free: 3.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.6871, allocations: 85 kB / 0.617 GB, free: 3.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.6871, allocations: 25.7 kB / 0.617 GB, free: 3.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.6872, allocations: 88.11 kB / 0.6171 GB, free: 3.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.6872, allocations: 4 kB / 0.6171 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-07/0.6872, allocations: 0 / 0.6171 GB, free: 3.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6873, allocations: 310.8 kB / 0.6174 GB, free: 2.691 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-06/0.6874, allocations: 128 / 0.6174 GB, free: 2.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.6874, allocations: 13.72 kB / 0.6174 GB, free: 2.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.6875, allocations: 79.28 kB / 0.6175 GB, free: 2.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-05/0.6875, allocations: 79.23 kB / 0.6176 GB, free: 2.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.477e-05/0.6876, allocations: 29.64 kB / 0.6176 GB, free: 2.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.6877, allocations: 89.88 kB / 0.6177 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/0.6877, allocations: 83.22 kB / 0.6178 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.634e-05/0.6878, allocations: 162.5 kB / 0.6179 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.6879, allocations: 75.45 kB / 0.618 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.157e-05/0.6879, allocations: 158.6 kB / 0.6181 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6881, allocations: 79.22 kB / 0.6182 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.6881, allocations: 79.28 kB / 0.6183 GB, free: 1.766 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001536/0.6883, allocations: 264.4 kB / 0.6185 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.6884, allocations: 116.9 kB / 0.6186 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.6885, allocations: 104.1 kB / 0.6187 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.6885, allocations: 176.3 kB / 0.6189 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.401e-05/0.6886, allocations: 180.2 kB / 0.6191 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/0.6887, allocations: 181.7 kB / 0.6193 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.6891, allocations: 409.2 kB / 0.6196 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/0.6891, allocations: 101 kB / 0.6197 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.6892, allocations: 108.9 kB / 0.6198 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.6893, allocations: 184.2 kB / 0.62 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.6894, allocations: 180.2 kB / 0.6202 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.6895, allocations: 188.2 kB / 0.6204 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.75e-05/0.6895, allocations: 180.3 kB / 0.6205 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.6897, allocations: 307.8 kB / 0.6208 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.6898, allocations: 186.1 kB / 0.621 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.6899, allocations: 184.6 kB / 0.6212 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6901, allocations: 109 kB / 0.6213 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.6902, allocations: 180.2 kB / 0.6215 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.6903, allocations: 109 kB / 0.6216 GB, free: 14.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.6903, allocations: 79.28 kB / 0.6216 GB, free: 14.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6903, allocations: 0 / 0.6216 GB, free: 14.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008829/0.6912, allocations: 171.8 kB / 0.6218 GB, free: 13.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.001924/0.6932, allocations: 1.181 MB / 0.623 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.68e-05/0.6932, allocations: 7.938 kB / 0.623 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6933, allocations: 0 / 0.623 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.6933, allocations: 4 kB / 0.623 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.6937, allocations: 0.5263 MB / 0.6235 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.6944, allocations: 271.4 kB / 0.6237 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.6947, allocations: 0.6731 MB / 0.6244 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.6948, allocations: 7.984 kB / 0.6244 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.6948, allocations: 11.44 kB / 0.6244 GB, free: 11.19 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6948, allocations: 0 / 0.6244 GB, free: 11.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.7157, allocations: 3.724 MB / 0.6281 GB, free: 7.586 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.7161, allocations: 220.6 kB / 0.6283 GB, free: 7.344 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.369, allocations: 0 / 0.6283 GB, free: 7.344 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat