Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.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: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002292/0.002298, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.002568/0.002568, allocations: 93.42 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5109/0.5109, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007357/0.0007358, allocations: 8 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1636, allocations: 58.83 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0007009/0.1643, allocations: 220.5 kB / 490.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.1685, allocations: 1.939 MB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1686, allocations: 0 / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.1686, allocations: 0 / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.1686, allocations: 0 / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.17, allocations: 283.2 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.51e-05/0.1701, allocations: 4 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.1701, allocations: 4 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1702, allocations: 3.984 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.175, allocations: 1.858 MB / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.175, allocations: 0 / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.1751, allocations: 4 kB / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.1752, allocations: 0 / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1752, allocations: 29.7 kB / 494.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.134e-05/0.1753, allocations: 8 kB / 494.6 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1753, allocations: 4 kB / 494.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1753, allocations: 0 / 494.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1753, allocations: 0 / 494.6 MB, free: 6.781 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003091/0.1757, allocations: 318.8 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1757, allocations: 12.09 kB / 495 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1758, allocations: 105.8 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.1761, allocations: 87.22 kB / 495.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1763, allocations: 242.3 kB / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.1764, allocations: 154.6 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.1764, allocations: 158.5 kB / 495.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.1765, allocations: 101 kB / 495.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.1766, allocations: 75.28 kB / 495.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.1767, allocations: 154.6 kB / 496 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/0.1768, allocations: 150.6 kB / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.1768, allocations: 154.5 kB / 496.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1772, allocations: 453.9 kB / 496.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1773, allocations: 169.1 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.1774, allocations: 75.28 kB / 497 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.1775, allocations: 105.8 kB / 497.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.1775, allocations: 0 / 497.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.88e-05/0.1776, allocations: 33.64 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.1777, allocations: 182.1 kB / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1779, allocations: 93.86 kB / 497.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1779, allocations: 29.7 kB / 497.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.178, allocations: 150.6 kB / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.178, allocations: 0 / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.178, allocations: 0 / 497.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1782, allocations: 318.8 kB / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.1782, allocations: 0 / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.1782, allocations: 17.77 kB / 497.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.1783, allocations: 83.5 kB / 498 MB, free: 3.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/0.1783, allocations: 75.28 kB / 498.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.942e-05/0.1784, allocations: 33.64 kB / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.1785, allocations: 79.28 kB / 498.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-05/0.1785, allocations: 79.28 kB / 498.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-05/0.1786, allocations: 150.6 kB / 498.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.1787, allocations: 87.2 kB / 498.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.837e-05/0.1788, allocations: 154.6 kB / 498.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1789, allocations: 83.16 kB / 498.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1789, allocations: 79.28 kB / 498.8 MB, free: 2.371 MB / 378.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.000164/0.1791, allocations: 272.3 kB / 499.1 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.1792, allocations: 104.9 kB / 499.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.1793, allocations: 116.1 kB / 499.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-05/0.1794, allocations: 176.3 kB / 499.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.601e-05/0.1795, allocations: 180.2 kB / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-05/0.1796, allocations: 176.3 kB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.1799, allocations: 413.1 kB / 0.4885 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.327e-05/0.18, allocations: 105 kB / 0.4886 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.18, allocations: 101 kB / 0.4887 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/0.1801, allocations: 188.2 kB / 0.4889 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.1802, allocations: 176.3 kB / 0.489 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.378e-05/0.1803, allocations: 192.1 kB / 0.4892 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.317/0.4973, allocations: 176.3 kB / 0.4894 GB, free: 44.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.4975, allocations: 306.2 kB / 0.4897 GB, free: 43.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4976, allocations: 182.6 kB / 0.4898 GB, free: 43.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.4976, allocations: 182.9 kB / 0.49 GB, free: 43.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4977, allocations: 106.1 kB / 0.4901 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4978, allocations: 178.7 kB / 0.4903 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4978, allocations: 106.2 kB / 0.4904 GB, free: 43.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.4979, allocations: 80.53 kB / 0.4905 GB, free: 43.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4979, allocations: 0 / 0.4905 GB, free: 43.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.4982, allocations: 0 / 0.4905 GB, free: 43.12 MB / 378.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.0002723/0.4985, allocations: 0.8028 MB / 0.4912 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.005e-05/0.4986, allocations: 8 kB / 0.4913 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4986, allocations: 0 / 0.4913 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.4986, allocations: 3.719 kB / 0.4913 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4988, allocations: 0.5186 MB / 0.4918 GB, free: 41.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.4993, allocations: 205.4 kB / 0.492 GB, free: 41.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.4994, allocations: 0.675 MB / 0.4926 GB, free: 40.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4994, allocations: 11.34 kB / 0.4926 GB, free: 40.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.364e-06/0.4995, allocations: 0 / 0.4926 GB, free: 40.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.006/3.506, allocations: 0.4954 MB / 0.4931 GB, free: 40.86 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat