Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001731/0.001735, allocations: 187 kB / 16.4 MB, free: 5.625 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.16/2.16, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002284/0.002284, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3428/0.3428, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007125, allocations: 15.98 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1496, allocations: 58.85 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003352/0.153, allocations: 1.252 MB / 491.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1541, allocations: 283.8 kB / 491.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.1543, allocations: 0 / 491.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1546, allocations: 23.84 kB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1548, allocations: 23.97 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1553, allocations: 63.8 kB / 492 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1555, allocations: 35.91 kB / 492 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1557, allocations: 7.984 kB / 492 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.1558, allocations: 27.86 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.1559, allocations: 15.92 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1559, allocations: 0 / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1561, allocations: 16 kB / 492.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1561, allocations: 15.92 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.1562, allocations: 33.64 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1564, allocations: 60.12 kB / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1565, allocations: 0 / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1565, allocations: 0 / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1565, allocations: 0 / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007413/0.1572, allocations: 371.1 kB / 492.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.1573, allocations: 12.03 kB / 492.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.1574, allocations: 34.56 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.1575, allocations: 11.86 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1578, allocations: 186.4 kB / 492.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1578, allocations: 0 / 492.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.1579, allocations: 4 kB / 492.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1581, allocations: 49.62 kB / 492.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1582, allocations: 4 kB / 492.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1582, allocations: 4 kB / 492.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1582, allocations: 0 / 492.8 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1584, allocations: 23.97 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.1591, allocations: 272.9 kB / 493.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.1595, allocations: 50.48 kB / 493.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1595, allocations: 0 / 493.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1596, allocations: 34.56 kB / 493.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.1596, allocations: 0 / 493.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001209/0.1608, allocations: 169.5 kB / 493.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1609, allocations: 55.34 kB / 493.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1613, allocations: 150 kB / 493.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1613, allocations: 29.7 kB / 493.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1614, allocations: 162.5 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1615, allocations: 19.7 kB / 493.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1615, allocations: 4 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1617, allocations: 310.8 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1619, allocations: 19.98 kB / 494.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1621, allocations: 27.98 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1623, allocations: 23.98 kB / 494.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1623, allocations: 0 / 494.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004523/0.1628, allocations: 81.61 kB / 494.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.1628, allocations: 8 kB / 494.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1629, allocations: 4 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1629, allocations: 7.891 kB / 494.2 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1631, allocations: 15.98 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1631, allocations: 0 / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1633, allocations: 11.92 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1633, allocations: 4 kB / 494.3 MB, free: 5.043 MB / 330.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 (5): * Single equations (assignments): 5 * 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.0001966/0.1635, allocations: 117.8 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.1636, allocations: 11.91 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.1641, allocations: 97.91 kB / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1642, allocations: 4 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1642, allocations: 3.953 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1642, allocations: 0 / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.1652, allocations: 350.6 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1653, allocations: 0 / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1654, allocations: 16.31 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1655, allocations: 0 / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1655, allocations: 3.953 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.1655, allocations: 8 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.1655, allocations: 3.984 kB / 494.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.1661, allocations: 179.4 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1662, allocations: 81.02 kB / 495.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1662, allocations: 15.98 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1664, allocations: 11.89 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.1665, allocations: 0 / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1665, allocations: 4 kB / 495.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1668, allocations: 121.4 kB / 495.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.1668, allocations: 0 / 495.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005457/0.1674, allocations: 19.98 kB / 495.3 MB, free: 3.914 MB / 330.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 (5): * Single equations (assignments): 5 * 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.002691/0.1701, allocations: 1.013 MB / 496.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.1706, allocations: 55.97 kB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1707, allocations: 0 / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1709, allocations: 31.92 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1714, allocations: 11.94 kB / 496.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1736, allocations: 0.5883 MB / 497 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.1741, allocations: 0.6965 MB / 497.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1743, allocations: 19.44 kB / 497.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1743, allocations: 0 / 497.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.808/2.982, allocations: 1.795 MB / 499.5 MB, free: 15.65 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat