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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 97.75 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 200.9 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.93 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 418 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 63.47 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006001/0.1642, allocations: 202.9 kB / 481.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1672, allocations: 2.008 MB / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.1673, allocations: 0 / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1673, allocations: 0 / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.309e-05/0.1673, allocations: 0 / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1685, allocations: 291.2 kB / 484 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.1685, allocations: 8 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1685, allocations: 3.938 kB / 484 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.1686, allocations: 0 / 484 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.1714, allocations: 1.869 MB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.1714, allocations: 3.984 kB / 485.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.455e-05/0.1714, allocations: 8 kB / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1715, allocations: 0 / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.1715, allocations: 25.7 kB / 485.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.794e-05/0.1716, allocations: 11.98 kB / 485.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1716, allocations: 3.938 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1716, allocations: 0 / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1716, allocations: 0 / 485.9 MB, free: 0.8398 MB / 350.1 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.0002553/0.1718, allocations: 311.4 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1719, allocations: 8.031 kB / 486.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.172, allocations: 113.8 kB / 486.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.1722, allocations: 87.27 kB / 486.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1723, allocations: 242.3 kB / 486.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.1724, allocations: 150.6 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1724, allocations: 158.5 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.22e-05/0.1725, allocations: 105 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.1725, allocations: 75.28 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.1726, allocations: 154.6 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.1727, allocations: 154.6 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.1727, allocations: 154.6 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.173, allocations: 441.9 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.1731, allocations: 177.1 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1731, allocations: 79.27 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.1732, allocations: 109.8 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1732, allocations: 3.938 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.086e-05/0.1733, allocations: 33.69 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1734, allocations: 182 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.1735, allocations: 93.86 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1735, allocations: 25.7 kB / 488.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.1735, allocations: 80.14 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.1736, allocations: 4 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1736, allocations: 0 / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1737, allocations: 314.8 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-06/0.1737, allocations: 0 / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.1737, allocations: 9.719 kB / 489.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.1738, allocations: 87.39 kB / 489.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.1738, allocations: 79.27 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.403e-05/0.1739, allocations: 25.7 kB / 489.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.1739, allocations: 83.28 kB / 489.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.1739, allocations: 79.22 kB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.126e-05/0.174, allocations: 154.5 kB / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.1741, allocations: 79.22 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.457e-05/0.1741, allocations: 162.6 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.1742, allocations: 75.28 kB / 489.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.1742, allocations: 83.2 kB / 490 MB, free: 12.49 MB / 366.1 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.0001184/0.1744, allocations: 264.4 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.1744, allocations: 101 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1745, allocations: 116.1 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.98e-05/0.1745, allocations: 184.3 kB / 490.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.236e-05/0.1746, allocations: 184.2 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/0.1747, allocations: 176.3 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1749, allocations: 397.2 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.1749, allocations: 120.9 kB / 491.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.175, allocations: 101 kB / 491.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.833e-05/0.175, allocations: 180.2 kB / 491.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.1751, allocations: 180.3 kB / 492 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.777e-05/0.1752, allocations: 176.3 kB / 492.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.564e-05/0.1752, allocations: 180.2 kB / 492.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.1754, allocations: 311.8 kB / 492.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.1755, allocations: 182 kB / 492.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.1755, allocations: 180.3 kB / 493 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.1756, allocations: 108.9 kB / 493.1 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.1757, allocations: 184.3 kB / 493.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.1757, allocations: 113.4 kB / 493.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.1758, allocations: 75.28 kB / 493.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1758, allocations: 0 / 493.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1761, allocations: 3.938 kB / 493.5 MB, free: 8.828 MB / 366.1 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.000363/0.1764, allocations: 0.8054 MB / 494.3 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.944e-05/0.1765, allocations: 3.969 kB / 494.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1765, allocations: 4 kB / 494.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.1765, allocations: 4.031 kB / 494.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1768, allocations: 0.5185 MB / 494.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.1771, allocations: 179.9 kB / 495 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1774, allocations: 0.677 MB / 495.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.1774, allocations: 0 / 495.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.1774, allocations: 7.438 kB / 495.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1774, allocations: 0 / 495.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009835/0.1873, allocations: 0.8003 MB / 496.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.1875, allocations: 188.8 kB / 496.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.843, allocations: 0 / 496.6 MB, free: 5.605 MB / 366.1 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