Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.2 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.0009993, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001735/0.1368, allocations: 1.275 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.1374, allocations: 363.7 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.1375, allocations: 3.938 kB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.138, allocations: 443.2 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.1383, allocations: 235.6 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1387, allocations: 159 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1389, allocations: 111.8 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.139, allocations: 12 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1391, allocations: 99.78 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1393, allocations: 147.7 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1393, allocations: 7.984 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.1393, allocations: 11.94 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.1394, allocations: 75.75 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.1395, allocations: 73.45 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1397, allocations: 172 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1397, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1397, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1398, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 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.0006446/0.1404, allocations: 0.5948 MB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1405, allocations: 8.031 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.1405, allocations: 34.56 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1406, allocations: 43.44 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1408, allocations: 275.4 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1409, allocations: 3.938 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1409, allocations: 3.953 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.141, allocations: 61.61 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1411, allocations: 4 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1411, allocations: 0 / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1411, allocations: 0 / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.1412, allocations: 23.98 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1417, allocations: 392.7 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.1418, allocations: 38.52 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1418, allocations: 3.984 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1418, allocations: 30.56 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1418, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002516/0.1421, allocations: 113.3 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1421, allocations: 59.34 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.1429, allocations: 0.8574 MB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1429, allocations: 33.7 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1431, allocations: 216.1 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1431, allocations: 11.83 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.1431, allocations: 0 / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1432, allocations: 366.8 kB / 477.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.1433, allocations: 12.02 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.1433, allocations: 12 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.1434, allocations: 15.98 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1434, allocations: 0 / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/0.1436, allocations: 93.28 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1436, allocations: 4 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1436, allocations: 0 / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1436, allocations: 0 / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1437, allocations: 15.92 kB / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1437, allocations: 0 / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.1438, allocations: 8 kB / 478 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1438, allocations: 0 / 478 MB, free: 6.977 MB / 350.1 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 (2): * Single equations (assignments): 2 * 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.0001659/0.1439, allocations: 218.3 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.144, allocations: 39.44 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1442, allocations: 112.6 kB / 478.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1442, allocations: 4 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1442, allocations: 0 / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1442, allocations: 7.922 kB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1445, allocations: 285.5 kB / 478.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1445, allocations: 4 kB / 478.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1445, allocations: 12.02 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1445, allocations: 0 / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1446, allocations: 0 / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1446, allocations: 7.938 kB / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1446, allocations: 0 / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1448, allocations: 199 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.1448, allocations: 112.6 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1449, allocations: 0 / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.145, allocations: 7.984 kB / 479 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.145, allocations: 4 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.145, allocations: 0 / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005727/0.1456, allocations: 0.6511 MB / 479.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1456, allocations: 0 / 479.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1458, allocations: 23.91 kB / 479.6 MB, free: 5.207 MB / 350.1 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 (2): * Single equations (assignments): 2 * 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.001098/0.1469, allocations: 0.9665 MB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1471, allocations: 31.97 kB / 480.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1471, allocations: 0 / 480.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.1471, allocations: 12 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1474, allocations: 30.42 kB / 480.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.1501, allocations: 2.166 MB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1506, allocations: 0.8301 MB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.856e-05/0.1507, allocations: 12.17 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1508, allocations: 107.4 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1508, allocations: 0 / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1687, allocations: 5.164 MB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.169, allocations: 222.5 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.971, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat