Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0009874/0.0009874, allocations: 97.22 kB / 15.69 MB, free: 480 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.0009745/0.0009747, allocations: 178.3 kB / 16.57 MB, free: 6.391 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.722/1.722, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.385/0.385, allocations: 43.55 MB / 314.5 MB, free: 8.723 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.0007393/0.0007397, allocations: 14.97 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1531, allocations: 58.86 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002236/0.1555, allocations: 1.318 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006354/0.1561, allocations: 291.8 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.1562, allocations: 0 / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.1568, allocations: 443.2 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.1571, allocations: 247.5 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.1575, allocations: 131.8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1577, allocations: 123.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1578, allocations: 16.25 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.158, allocations: 103.8 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1582, allocations: 151.7 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1582, allocations: 4 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.1583, allocations: 19.92 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.1584, allocations: 83.75 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.1585, allocations: 65.45 kB / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1587, allocations: 195.7 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1587, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1587, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1587, allocations: 0 / 446 MB, free: 9.793 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007539/0.1595, allocations: 0.6064 MB / 446.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1595, allocations: 12.02 kB / 446.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.1596, allocations: 38.56 kB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1597, allocations: 43.39 kB / 446.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.16, allocations: 271.5 kB / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.16, allocations: 0 / 447 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.16, allocations: 8 kB / 447 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1602, allocations: 65.61 kB / 447 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1602, allocations: 0 / 447 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1602, allocations: 4 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1603, allocations: 4 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1604, allocations: 51.91 kB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.161, allocations: 404.6 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1612, allocations: 62.48 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1612, allocations: 0 / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1612, allocations: 30.56 kB / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1612, allocations: 0 / 447.6 MB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008978/0.1621, allocations: 352 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1622, allocations: 51.41 kB / 448 MB, free: 7.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000849/0.163, allocations: 0.8574 MB / 448.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1631, allocations: 33.7 kB / 448.9 MB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1633, allocations: 215.9 kB / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1633, allocations: 19.72 kB / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-06/0.1633, allocations: 0 / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1635, allocations: 370.8 kB / 449.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1636, allocations: 43.97 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1637, allocations: 43.97 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1639, allocations: 51.97 kB / 449.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1639, allocations: 0 / 449.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003148/0.1642, allocations: 173.2 kB / 449.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1642, allocations: 11.95 kB / 449.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1642, allocations: 0 / 449.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1643, allocations: 3.938 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1644, allocations: 23.98 kB / 449.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1644, allocations: 8.062 kB / 449.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.1645, allocations: 15.98 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1645, allocations: 8 kB / 449.8 MB, free: 5.73 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 (7): * Single equations (assignments): 7 * 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.0001974/0.1647, allocations: 217.8 kB / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1648, allocations: 39.53 kB / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.1652, allocations: 205.2 kB / 450.3 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1652, allocations: 0 / 450.3 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1652, allocations: 0 / 450.3 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1652, allocations: 3.938 kB / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006796/0.1659, allocations: 0.5219 MB / 450.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1659, allocations: 11.95 kB / 450.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.166, allocations: 23.92 kB / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.166, allocations: 0 / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.166, allocations: 0 / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.166, allocations: 4 kB / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1661, allocations: 0 / 450.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.1664, allocations: 266.9 kB / 451.1 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1665, allocations: 120.6 kB / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1666, allocations: 0 / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1667, allocations: 15.98 kB / 451.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1667, allocations: 7.984 kB / 451.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1667, allocations: 4 kB / 451.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.1674, allocations: 0.6511 MB / 451.9 MB, free: 3.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1674, allocations: 3.938 kB / 451.9 MB, free: 3.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1676, allocations: 28 kB / 451.9 MB, free: 3.52 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 (7): * Single equations (assignments): 7 * 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.001493/0.1691, allocations: 1.116 MB / 453.1 MB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1695, allocations: 107.9 kB / 453.2 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1695, allocations: 0 / 453.2 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1696, allocations: 51.97 kB / 453.2 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1699, allocations: 25.89 kB / 453.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2236/0.3935, allocations: 2.326 MB / 455.6 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.394, allocations: 0.8344 MB / 456.4 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.3941, allocations: 25.09 kB / 456.4 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3943, allocations: 115.4 kB / 456.5 MB, free: 45.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.3943, allocations: 3 kB / 456.5 MB, free: 45.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.4118, allocations: 5.535 MB / 462.1 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.412, allocations: 212.9 kB / 462.3 MB, free: 45.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.221, allocations: 0 / 462.3 MB, free: 45.06 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat