Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001026/0.001026, allocations: 96.91 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.001227/0.001227, allocations: 176.2 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.699/1.699, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4434/0.4434, allocations: 43.55 MB / 314.5 MB, free: 8.789 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.0005571/0.0005574, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1503, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002214/0.1526, allocations: 1.311 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.1533, allocations: 287.8 kB / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.1534, allocations: 0 / 444.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.154, allocations: 439.2 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1544, allocations: 243.5 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1548, allocations: 135.8 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1551, allocations: 119.8 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1552, allocations: 12.44 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1554, allocations: 103.8 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1556, allocations: 147.7 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1557, allocations: 0 / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.1558, allocations: 19.94 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1559, allocations: 87.67 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.156, allocations: 69.45 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1562, allocations: 187.7 kB / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1562, allocations: 0 / 446 MB, free: 9.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1562, allocations: 4 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1562, allocations: 0 / 446 MB, free: 9.816 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.0008044/0.1571, allocations: 0.5948 MB / 446.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1571, allocations: 11.97 kB / 446.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1572, allocations: 34.55 kB / 446.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.1573, allocations: 47.39 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.1576, allocations: 275.4 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1576, allocations: 7.969 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1577, allocations: 0 / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1578, allocations: 61.67 kB / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1578, allocations: 0 / 447 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1579, allocations: 4 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1579, allocations: 0 / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.158, allocations: 39.88 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.1586, allocations: 396.6 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1588, allocations: 50.55 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1589, allocations: 3.938 kB / 447.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1589, allocations: 38.52 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1589, allocations: 0 / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007599/0.1597, allocations: 252 kB / 447.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1597, allocations: 51.41 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1609, allocations: 0.8652 MB / 448.7 MB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1609, allocations: 29.7 kB / 448.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1612, allocations: 220.1 kB / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1612, allocations: 23.66 kB / 448.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1612, allocations: 0 / 448.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.1615, allocations: 354.8 kB / 449.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.1615, allocations: 27.97 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.1616, allocations: 36.05 kB / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.1617, allocations: 23.98 kB / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1617, allocations: 0 / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003039/0.162, allocations: 125.2 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.1621, allocations: 11.95 kB / 449.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1621, allocations: 7.922 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1621, allocations: 0 / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.1622, allocations: 12 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.1622, allocations: 0 / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.1623, allocations: 11.92 kB / 449.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1624, allocations: 4 kB / 449.6 MB, free: 6.012 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 (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.0002719/0.1626, allocations: 221.7 kB / 449.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.1627, allocations: 47.42 kB / 449.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1631, allocations: 145 kB / 450 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.1632, allocations: 3.984 kB / 450 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1632, allocations: 7.938 kB / 450 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1632, allocations: 0 / 450 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.164, allocations: 470.5 kB / 450.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.164, allocations: 7.938 kB / 450.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.1641, allocations: 16 kB / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1641, allocations: 0 / 450.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1641, allocations: 4 kB / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1641, allocations: 320 / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1641, allocations: 0 / 450.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1646, allocations: 234.9 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1647, allocations: 120.5 kB / 450.8 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1647, allocations: 4 kB / 450.8 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.1649, allocations: 4 kB / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.1649, allocations: 7.984 kB / 450.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1649, allocations: 288 / 450.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00089/0.1658, allocations: 0.655 MB / 451.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1659, allocations: 0 / 451.5 MB, free: 3.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.1662, allocations: 24 kB / 451.5 MB, free: 3.961 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 (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.001684/0.1679, allocations: 1.079 MB / 452.6 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1681, allocations: 51.97 kB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1681, allocations: 4 kB / 452.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1682, allocations: 39.91 kB / 452.7 MB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1685, allocations: 18.31 kB / 452.7 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.172, allocations: 2.248 MB / 454.9 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2213/0.3933, allocations: 0.8289 MB / 455.8 MB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3934, allocations: 17 kB / 455.8 MB, free: 46.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.3936, allocations: 111.8 kB / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3936, allocations: 0 / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.4113, allocations: 5.411 MB / 461.3 MB, free: 46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.4115, allocations: 217.7 kB / 461.5 MB, free: 45.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.192, allocations: 0 / 461.5 MB, free: 45.75 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat