Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001452, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001827, allocations: 175.3 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4781/0.4781, allocations: 43.55 MB / 314.5 MB, free: 9 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006554, allocations: 18.97 kB / 384 MB, free: 8.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1661, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006811/0.1669, allocations: 220.3 kB / 443.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1698, allocations: 1.928 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.1698, allocations: 3.938 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.1698, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.1699, allocations: 4 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.1707, allocations: 271.2 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.1708, allocations: 3.984 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.1708, allocations: 4 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1708, allocations: 0 / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.1736, allocations: 1.862 MB / 447.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1736, allocations: 4 kB / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.1737, allocations: 0 / 447.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1737, allocations: 7.984 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1737, allocations: 25.7 kB / 447.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.349e-05/0.1738, allocations: 7.984 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1738, allocations: 3.938 kB / 447.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1738, allocations: 0 / 447.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1738, allocations: 0 / 447.2 MB, free: 8.863 MB / 382.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.0003012/0.1741, allocations: 315.3 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.1742, allocations: 12.09 kB / 447.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/0.1743, allocations: 109.8 kB / 447.6 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.1745, allocations: 87.22 kB / 447.7 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1747, allocations: 238.4 kB / 447.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.1747, allocations: 150.6 kB / 448.1 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.1748, allocations: 154.6 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/0.1749, allocations: 101 kB / 448.3 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.1749, allocations: 79.28 kB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.175, allocations: 150.6 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/0.1751, allocations: 150.6 kB / 448.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.1751, allocations: 162.5 kB / 448.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.1754, allocations: 445.9 kB / 449.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/0.1755, allocations: 169.1 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1756, allocations: 75.28 kB / 449.5 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.1756, allocations: 109.8 kB / 449.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1757, allocations: 4 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.017e-05/0.1757, allocations: 29.64 kB / 449.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1758, allocations: 182.1 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.1759, allocations: 93.86 kB / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.176, allocations: 29.7 kB / 450 MB, free: 5.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.176, allocations: 80.14 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.176, allocations: 0 / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-07/0.176, allocations: 4.125 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1762, allocations: 314.8 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.1762, allocations: 0 / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.1762, allocations: 17.73 kB / 450.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.1763, allocations: 83.31 kB / 450.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/0.1763, allocations: 75.28 kB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.367e-05/0.1764, allocations: 37.62 kB / 450.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1764, allocations: 87.3 kB / 450.6 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/0.1765, allocations: 75.28 kB / 450.7 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.341e-05/0.1765, allocations: 162.4 kB / 450.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.1766, allocations: 79.28 kB / 450.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.174e-05/0.1766, allocations: 150.6 kB / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.1767, allocations: 79.22 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1768, allocations: 83.28 kB / 451.3 MB, free: 4.516 MB / 382.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.0001379/0.1769, allocations: 264.6 kB / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.177, allocations: 116.9 kB / 451.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.177, allocations: 104.1 kB / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/0.1771, allocations: 180.2 kB / 451.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-05/0.1772, allocations: 184.3 kB / 452.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.392e-05/0.1773, allocations: 180.3 kB / 452.3 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1776, allocations: 409.1 kB / 452.7 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.523e-05/0.1776, allocations: 101 kB / 452.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.1777, allocations: 104.9 kB / 452.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.855e-05/0.1778, allocations: 188.2 kB / 453 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.1779, allocations: 180.3 kB / 453.2 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-05/0.1779, allocations: 180.2 kB / 453.4 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.568e-05/0.178, allocations: 180.3 kB / 453.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1782, allocations: 307.7 kB / 453.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.1783, allocations: 186.1 kB / 454.1 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.1784, allocations: 184.2 kB / 454.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.1785, allocations: 101 kB / 454.3 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.1786, allocations: 188.2 kB / 454.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.1786, allocations: 101 kB / 454.6 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.1787, allocations: 75.28 kB / 454.7 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 4.094 kB / 454.7 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1789, allocations: 4 kB / 454.7 MB, free: 0.8438 MB / 382.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.0004844/0.1794, allocations: 0.8009 MB / 455.5 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.303e-05/0.1795, allocations: 3.984 kB / 455.5 MB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1795, allocations: 4 kB / 455.5 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1795, allocations: 0 / 455.5 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2841/0.4636, allocations: 0.5242 MB / 456 MB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4642, allocations: 180.9 kB / 456.2 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.4643, allocations: 0.6727 MB / 456.9 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.4644, allocations: 5.125 kB / 456.9 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.4644, allocations: 8.375 kB / 456.9 MB, free: 46.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4644, allocations: 2.594 kB / 456.9 MB, free: 46.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.4749, allocations: 0.8031 MB / 457.7 MB, free: 46.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.475, allocations: 177.4 kB / 457.9 MB, free: 46.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.182, allocations: 0 / 457.9 MB, free: 46.1 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat