Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.0023/0.002305, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.209/2.209, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001159/0.001158, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3141/0.3141, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.000485, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002555/0.1342, allocations: 1.298 MB / 491.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.1352, allocations: 299.8 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1353, allocations: 0 / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.1361, allocations: 439.2 kB / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.1366, allocations: 239.5 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.1372, allocations: 135.8 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1376, allocations: 115.8 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1377, allocations: 24.16 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1379, allocations: 99.73 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.1382, allocations: 139.8 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1383, allocations: 0 / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1384, allocations: 27.86 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.1386, allocations: 83.73 kB / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1387, allocations: 69.52 kB / 493.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.139, allocations: 187.9 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1391, allocations: 0 / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1391, allocations: 0 / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1391, allocations: 0 / 493.4 MB, free: 6.082 MB / 330.7 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.0009978/0.1401, allocations: 0.5949 MB / 494 MB, free: 5.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1402, allocations: 8.031 kB / 494 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.1402, allocations: 30.56 kB / 494.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.1403, allocations: 47.39 kB / 494.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1407, allocations: 279.4 kB / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1408, allocations: 0 / 494.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1408, allocations: 8 kB / 494.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1411, allocations: 57.61 kB / 494.5 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1411, allocations: 4 kB / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1411, allocations: 0 / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1411, allocations: 0 / 494.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1413, allocations: 35.97 kB / 494.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.1421, allocations: 404.6 kB / 494.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.1424, allocations: 46.5 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1424, allocations: 0 / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1425, allocations: 34.56 kB / 495 MB, free: 4.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1425, allocations: 0 / 495 MB, free: 4.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009938/0.1435, allocations: 260.1 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1436, allocations: 51.41 kB / 495.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.145, allocations: 0.8652 MB / 496.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.145, allocations: 25.7 kB / 496.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.1453, allocations: 242.5 kB / 496.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1453, allocations: 23.73 kB / 496.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1453, allocations: 0 / 496.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1455, allocations: 314.8 kB / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1456, allocations: 27.98 kB / 496.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1458, allocations: 23.98 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1459, allocations: 31.91 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1459, allocations: 4 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003509/0.1463, allocations: 89.61 kB / 496.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1463, allocations: 4 kB / 496.9 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1464, allocations: 0 / 496.9 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-05/0.1464, allocations: 8.203 kB / 496.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1466, allocations: 11.98 kB / 496.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1466, allocations: 15.94 kB / 496.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1467, allocations: 4 kB / 497 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1467, allocations: 0 / 497 MB, free: 2.348 MB / 330.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.0003189/0.1471, allocations: 217.8 kB / 497.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.1472, allocations: 43.44 kB / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.1477, allocations: 153 kB / 497.4 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1477, allocations: 4.234 kB / 497.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1477, allocations: 4 kB / 497.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1477, allocations: 0 / 497.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/0.1486, allocations: 474.5 kB / 497.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1486, allocations: 3.984 kB / 497.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1487, allocations: 19.92 kB / 497.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.1488, allocations: 3.953 kB / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1488, allocations: 0 / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1488, allocations: 0 / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1488, allocations: 0 / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1492, allocations: 231 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1494, allocations: 112.5 kB / 498.2 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.1494, allocations: 11.95 kB / 498.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1496, allocations: 4 kB / 498.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.1497, allocations: 8.172 kB / 498.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1497, allocations: 8 kB / 498.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.1507, allocations: 0.6511 MB / 498.9 MB, free: 328 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1507, allocations: 0 / 498.9 MB, free: 328 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.1511, allocations: 28 kB / 498.9 MB, free: 300 kB / 330.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.001908/0.1531, allocations: 1.053 MB / 500 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.1535, allocations: 63.97 kB / 0.4883 GB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1535, allocations: 4 kB / 0.4883 GB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1537, allocations: 31.92 kB / 0.4883 GB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1541, allocations: 30.5 kB / 0.4884 GB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.159, allocations: 2.285 MB / 0.4906 GB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.1597, allocations: 0.8379 MB / 0.4914 GB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.1599, allocations: 115.4 kB / 0.4915 GB, free: 11.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.16, allocations: 0 / 0.4915 GB, free: 11.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/2.877, allocations: 6.724 MB / 0.4981 GB, free: 5.074 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat