Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",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.001747/0.001752, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.111/2.111, 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.001173/0.001173, allocations: 89.25 kB / 270.9 MB, free: 8.363 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.5408/0.5408, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 12 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.86 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002689/0.145, allocations: 1.263 MB / 491.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009032/0.146, allocations: 295.7 kB / 491.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.146, allocations: 4 kB / 491.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1464, allocations: 83.73 kB / 492 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1466, allocations: 59.86 kB / 492 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.147, allocations: 87.81 kB / 492.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1472, allocations: 51.88 kB / 492.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1473, allocations: 20.16 kB / 492.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.1474, allocations: 35.91 kB / 492.2 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1475, allocations: 39.83 kB / 492.2 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1476, allocations: 0 / 492.2 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.1477, allocations: 23.98 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.1477, allocations: 19.92 kB / 492.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.1478, allocations: 37.64 kB / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.148, allocations: 80.09 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.148, allocations: 0 / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.148, allocations: 0 / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.148, allocations: 0 / 492.4 MB, free: 8.785 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.0005884/0.1486, allocations: 402.8 kB / 492.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1487, allocations: 8.031 kB / 492.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.1488, allocations: 42.55 kB / 492.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1488, allocations: 15.77 kB / 492.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1491, allocations: 194.8 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1491, allocations: 4 kB / 493.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1491, allocations: 8 kB / 493.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1494, allocations: 75.39 kB / 493.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1494, allocations: 0 / 493.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1494, allocations: 0 / 493.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1495, allocations: 0 / 493.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1497, allocations: 47.86 kB / 493.2 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.1503, allocations: 405 kB / 493.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.1507, allocations: 85.16 kB / 493.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1507, allocations: 4 kB / 493.7 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1508, allocations: 42.44 kB / 493.7 MB, free: 7.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.1508, allocations: 0 / 493.7 MB, free: 7.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001133/0.1519, allocations: 261.1 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.152, allocations: 85.05 kB / 494 MB, free: 6.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.1524, allocations: 234.3 kB / 494.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1524, allocations: 25.7 kB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1525, allocations: 174.3 kB / 494.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1526, allocations: 31.55 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.1526, allocations: 4 kB / 494.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1527, allocations: 314.8 kB / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1529, allocations: 35.97 kB / 494.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1531, allocations: 49.69 kB / 494.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1533, allocations: 48.11 kB / 494.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1533, allocations: 0 / 494.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004604/0.1538, allocations: 125.5 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1538, allocations: 8 kB / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1538, allocations: 0 / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1539, allocations: 0 / 495.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.154, allocations: 31.98 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1541, allocations: 0 / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.1542, allocations: 7.906 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1542, allocations: 4 kB / 495.1 MB, free: 5.816 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.0001612/0.1544, allocations: 141.8 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.1544, allocations: 15.84 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.1552, allocations: 154.6 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.1552, allocations: 4 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1552, allocations: 0 / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1552, allocations: 0 / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1563, allocations: 0.5182 MB / 495.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1563, allocations: 0 / 495.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1565, allocations: 27.92 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1565, allocations: 0 / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1565, allocations: 8 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1565, allocations: 4.031 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1565, allocations: 0 / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.1571, allocations: 346.9 kB / 496.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.1571, allocations: 88.95 kB / 496.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1572, allocations: 0 / 496.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1574, allocations: 15.98 kB / 496.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1574, allocations: 4 kB / 496.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1574, allocations: 7.984 kB / 496.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.1577, allocations: 176.2 kB / 496.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1577, allocations: 0 / 496.6 MB, free: 4.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.1581, allocations: 24 kB / 496.6 MB, free: 4.168 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.001999/0.1602, allocations: 1.3 MB / 497.9 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1606, allocations: 95.88 kB / 498 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1606, allocations: 0 / 498 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1608, allocations: 47.92 kB / 498.1 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1612, allocations: 19.94 kB / 498.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1635, allocations: 1.031 MB / 499.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.164, allocations: 0.7238 MB / 499.8 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1641, allocations: 39.42 kB / 499.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1641, allocations: 0 / 499.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.971/3.135, allocations: 2.411 MB / 0.4905 GB, free: 41.79 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat