Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001692/0.001697, allocations: 188.4 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.184/2.184, 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.00119/0.00119, allocations: 94.86 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.3108/0.3108, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004653, allocations: 8 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00282/0.1383, allocations: 1.249 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.1393, allocations: 283.8 kB / 491.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.1394, allocations: 4 kB / 491.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.1398, allocations: 119.7 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1401, allocations: 71.89 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1405, allocations: 67.78 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1407, allocations: 47.88 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1408, allocations: 15.98 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.1409, allocations: 35.89 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1411, allocations: 59.86 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1411, allocations: 0 / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1413, allocations: 23.86 kB / 492.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1413, allocations: 23.92 kB / 492.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.1414, allocations: 37.64 kB / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1416, allocations: 80.09 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1416, allocations: 0 / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1416, allocations: 0 / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1417, allocations: 4 kB / 492.4 MB, free: 7.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006444/0.1423, allocations: 402.8 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.1424, allocations: 12.03 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.1425, allocations: 34.56 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1425, allocations: 15.77 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1428, allocations: 202.7 kB / 493.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1428, allocations: 3.984 kB / 493.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1428, allocations: 0 / 493.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.143, allocations: 53.62 kB / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1431, allocations: 0 / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1431, allocations: 7.984 kB / 493.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1431, allocations: 0 / 493.1 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1433, allocations: 23.98 kB / 493.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1437, allocations: 292.8 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.144, allocations: 50.48 kB / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1441, allocations: 0 / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1441, allocations: 30.56 kB / 493.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1441, allocations: 0 / 493.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008438/0.145, allocations: 177.1 kB / 493.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.145, allocations: 51.41 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.1454, allocations: 271.2 kB / 494 MB, free: 5.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1455, allocations: 25.7 kB / 494 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1456, allocations: 166.6 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1456, allocations: 19.8 kB / 494.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.1457, allocations: 0 / 494.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1458, allocations: 310.8 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1459, allocations: 19.98 kB / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1461, allocations: 27.98 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1462, allocations: 23.98 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1462, allocations: 0 / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003451/0.1466, allocations: 85.8 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1466, allocations: 4 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1466, allocations: 64 / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1467, allocations: 7.953 kB / 494.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1468, allocations: 15.98 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1468, allocations: 3.984 kB / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.1469, allocations: 11.94 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1469, allocations: 4 kB / 494.7 MB, free: 4.574 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.0001582/0.1471, allocations: 133.8 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1472, allocations: 15.81 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.1476, allocations: 110.5 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1476, allocations: 4 kB / 495 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1476, allocations: 3.953 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1476, allocations: 4 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.1483, allocations: 362.6 kB / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1483, allocations: 0 / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1485, allocations: 19.92 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1485, allocations: 4 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1485, allocations: 3.953 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1485, allocations: 0 / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1485, allocations: 0 / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.1489, allocations: 191.3 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.149, allocations: 92.91 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.149, allocations: 192 / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1492, allocations: 15.95 kB / 495.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1492, allocations: 11.92 kB / 495.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1493, allocations: 0 / 495.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.1496, allocations: 203.4 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1496, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.1499, allocations: 15.98 kB / 495.9 MB, free: 3.305 MB / 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.001864/0.1518, allocations: 1.019 MB / 496.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1522, allocations: 59.97 kB / 497 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1522, allocations: 0 / 497 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1523, allocations: 31.92 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1527, allocations: 20.12 kB / 497 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1547, allocations: 0.8277 MB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1551, allocations: 0.7238 MB / 498.6 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.1552, allocations: 35.42 kB / 498.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1552, allocations: 0 / 498.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/2.933, allocations: 2.287 MB / 0.4892 GB, free: 14.25 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat