Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29",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.001589/0.001593, allocations: 182.3 kB / 16.4 MB, free: 5.746 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.202/2.202, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001139/0.001139, allocations: 99.33 kB / 270.9 MB, free: 8.359 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.5092/0.5092, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.003616/0.1545, allocations: 1.275 MB / 491.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1558, allocations: 291.8 kB / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.1559, allocations: 0 / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.1562, allocations: 31.84 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1565, allocations: 27.91 kB / 491.9 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.1572, allocations: 91.77 kB / 492 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1574, allocations: 43.94 kB / 492.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1576, allocations: 12.17 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.1577, allocations: 31.84 kB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1578, allocations: 19.92 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1579, allocations: 4 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.158, allocations: 16 kB / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.1581, allocations: 19.91 kB / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.1582, allocations: 37.64 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1584, allocations: 64.11 kB / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1585, allocations: 0 / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1585, allocations: 0 / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1585, allocations: 0 / 492.3 MB, free: 9.164 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007348/0.1593, allocations: 379 kB / 492.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.1593, allocations: 12.03 kB / 492.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.1594, allocations: 38.55 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.1595, allocations: 11.86 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1599, allocations: 194.9 kB / 492.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1599, allocations: 0 / 492.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.16, allocations: 8 kB / 492.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.1603, allocations: 71.39 kB / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1604, allocations: 0 / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1604, allocations: 8 kB / 493 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1604, allocations: 4 kB / 493 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.1607, allocations: 43.86 kB / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.1618, allocations: 389 kB / 493.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.1624, allocations: 89.16 kB / 493.5 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.1624, allocations: 0 / 493.5 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.1625, allocations: 46.53 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.1625, allocations: 0 / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.00174/0.1643, allocations: 237.5 kB / 493.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.1644, allocations: 85.05 kB / 493.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1648, allocations: 161.4 kB / 494 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1648, allocations: 29.64 kB / 494 MB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.165, allocations: 162.4 kB / 494.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.1651, allocations: 39.44 kB / 494.2 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.1651, allocations: 4 kB / 494.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1653, allocations: 314.8 kB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1656, allocations: 35.97 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1659, allocations: 53.69 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.1662, allocations: 40.11 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1662, allocations: 4 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006731/0.1669, allocations: 129.5 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.167, allocations: 8 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.167, allocations: 0 / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.167, allocations: 0 / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1673, allocations: 23.98 kB / 494.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1674, allocations: 4 kB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1675, allocations: 4 kB / 494.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.1676, allocations: 8.094 kB / 494.8 MB, free: 6.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0002096/0.1678, allocations: 129.8 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1679, allocations: 15.84 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008138/0.1688, allocations: 153.9 kB / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1688, allocations: 0 / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1688, allocations: 0 / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1689, allocations: 0 / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1704, allocations: 0.5027 MB / 495.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.1705, allocations: 0 / 495.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1707, allocations: 24 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.1708, allocations: 3.984 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1708, allocations: 11.94 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.1708, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1709, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.1717, allocations: 339 kB / 496 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1718, allocations: 92.94 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1719, allocations: 0 / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.1722, allocations: 15.98 kB / 496.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.1723, allocations: 4 kB / 496.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1723, allocations: 4 kB / 496.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1725, allocations: 123.2 kB / 496.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.1725, allocations: 0 / 496.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006905/0.1732, allocations: 20 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.003113/0.1764, allocations: 1.288 MB / 497.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.1771, allocations: 91.88 kB / 497.6 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1772, allocations: 4 kB / 497.6 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.1775, allocations: 51.92 kB / 497.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.1781, allocations: 19.88 kB / 497.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.1812, allocations: 0.8848 MB / 498.6 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.1818, allocations: 0.7043 MB / 499.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1819, allocations: 31.42 kB / 499.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.182, allocations: 3.938 kB / 499.3 MB, free: 1.629 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.129/3.311, allocations: 2.091 MB / 0.4897 GB, free: 42.4 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat does not exist to compare? outputFormat=mat