Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",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.00234/0.00234, allocations: 183.2 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.192/2.192, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001177/0.001176, allocations: 90.84 kB / 270.9 MB, free: 8.367 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.5451/0.5451, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.141, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002447/0.1435, allocations: 1.255 MB / 491.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.1443, allocations: 287.8 kB / 491.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.1444, allocations: 3.938 kB / 491.8 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1446, allocations: 23.86 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1448, allocations: 23.97 kB / 491.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1452, allocations: 83.77 kB / 492 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1453, allocations: 35.89 kB / 492 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1455, allocations: 19.98 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.1455, allocations: 15.91 kB / 492 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.1456, allocations: 15.94 kB / 492.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1456, allocations: 0 / 492.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.1457, allocations: 15.98 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.1458, allocations: 15.92 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1458, allocations: 33.64 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.146, allocations: 56.12 kB / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.146, allocations: 0 / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.146, allocations: 0 / 492.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1461, allocations: 8 kB / 492.2 MB, free: 9.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005288/0.1466, allocations: 363.2 kB / 492.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1467, allocations: 8.031 kB / 492.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1467, allocations: 34.56 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1468, allocations: 7.859 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.147, allocations: 186.9 kB / 492.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.147, allocations: 4 kB / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1471, allocations: 0 / 492.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1473, allocations: 53.62 kB / 492.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1473, allocations: 7.984 kB / 492.8 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1473, allocations: 3.938 kB / 492.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1473, allocations: 7.953 kB / 492.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1475, allocations: 23.98 kB / 492.9 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.148, allocations: 277 kB / 493.1 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1483, allocations: 50.58 kB / 493.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1483, allocations: 3.984 kB / 493.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1484, allocations: 30.56 kB / 493.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1484, allocations: 0 / 493.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000839/0.1492, allocations: 177.2 kB / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1493, allocations: 59.34 kB / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1495, allocations: 145.8 kB / 493.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1495, allocations: 25.7 kB / 493.6 MB, free: 7.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.1496, allocations: 166.5 kB / 493.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.1497, allocations: 7.812 kB / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.1497, allocations: 0 / 493.8 MB, free: 7.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1499, allocations: 318.8 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.15, allocations: 31.97 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1501, allocations: 19.98 kB / 494.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1503, allocations: 27.98 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1503, allocations: 0 / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003212/0.1506, allocations: 93.52 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1507, allocations: 11.95 kB / 494.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1507, allocations: 7.969 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1507, allocations: 0 / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1508, allocations: 12 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1508, allocations: 0 / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.1509, allocations: 11.92 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1509, allocations: 4 kB / 494.3 MB, free: 6.883 MB / 378.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.0001105/0.1511, allocations: 121.8 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.1511, allocations: 3.906 kB / 494.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.1515, allocations: 113.8 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1515, allocations: 4 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1515, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1516, allocations: 0 / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/0.1522, allocations: 354.6 kB / 494.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1522, allocations: 3.953 kB / 494.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1523, allocations: 16 kB / 494.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1524, allocations: 384 / 494.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1524, allocations: 0 / 494.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1524, allocations: 7.938 kB / 494.9 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1524, allocations: 0 / 494.9 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1528, allocations: 195.4 kB / 495.1 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1529, allocations: 92.89 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1529, allocations: 4 kB / 495.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.153, allocations: 7.938 kB / 495.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1531, allocations: 3.984 kB / 495.2 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1531, allocations: 8 kB / 495.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1532, allocations: 107.3 kB / 495.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1532, allocations: 0 / 495.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.1536, allocations: 19.98 kB / 495.4 MB, free: 5.73 MB / 378.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.001807/0.1554, allocations: 1.016 MB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1557, allocations: 59.95 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1557, allocations: 3.938 kB / 496.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1559, allocations: 35.92 kB / 496.5 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1562, allocations: 15.98 kB / 496.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1577, allocations: 0.5901 MB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1581, allocations: 0.7004 MB / 497.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1581, allocations: 19.44 kB / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1582, allocations: 0 / 497.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.695/2.853, allocations: 1.772 MB / 499.6 MB, free: 1.469 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat