Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.000805/0.0008049, allocations: 98.47 kB / 17 MB, free: 6.398 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.0007725/0.0007725, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.382/1.382, allocations: 223.2 MB / 241.9 MB, free: 344 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.2061/0.2061, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 61.93 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002244/0.1308, allocations: 1.333 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.1317, allocations: 415.5 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.1318, allocations: 0 / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.132, allocations: 67.84 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1322, allocations: 55.86 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1327, allocations: 151.2 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1329, allocations: 75.77 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.133, allocations: 11.98 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.133, allocations: 31.91 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.1331, allocations: 43.83 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1332, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1333, allocations: 47.91 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1333, allocations: 19.98 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1334, allocations: 37.64 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1336, allocations: 88.08 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1336, allocations: 4 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1336, allocations: 3.938 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1336, allocations: 0 / 474 MB, free: 11.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004945/0.1341, allocations: 418.8 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1341, allocations: 8.031 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1342, allocations: 34.56 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1342, allocations: 11.91 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1345, allocations: 191.6 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1345, allocations: 4 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1345, allocations: 7.953 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1347, allocations: 73.59 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1348, allocations: 0 / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1348, allocations: 4 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1348, allocations: 4 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.135, allocations: 47.97 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.1356, allocations: 336.6 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1358, allocations: 70.53 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.1359, allocations: 28.97 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.136, allocations: 4 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.136, allocations: 30.56 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.136, allocations: 4 kB / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001579/0.1376, allocations: 0.4933 MB / 475.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1377, allocations: 55.34 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1379, allocations: 223.9 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.138, allocations: 25.7 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.138, allocations: 108 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1381, allocations: 35.41 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.1381, allocations: 12 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1383, allocations: 326.8 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1384, allocations: 59.97 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1386, allocations: 67.95 kB / 476.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1387, allocations: 59.97 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1387, allocations: 3.984 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003832/0.1391, allocations: 189.7 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1392, allocations: 4 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1392, allocations: 0 / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1392, allocations: 0 / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1393, allocations: 31.98 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1394, allocations: 7.969 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1394, allocations: 23.89 kB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1395, allocations: 0 / 477 MB, free: 8.078 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 (11): * Single equations (assignments): 11 * 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.0001543/0.1396, allocations: 134.4 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1397, allocations: 11.81 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.1401, allocations: 210.9 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1401, allocations: 4 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1402, allocations: 0 / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1402, allocations: 0 / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.1409, allocations: 0.5233 MB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1409, allocations: 0 / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1411, allocations: 31.97 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1411, allocations: 0 / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1411, allocations: 4 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1411, allocations: 8.016 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1411, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.1415, allocations: 285 kB / 478.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.1416, allocations: 92.92 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1416, allocations: 3.984 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.1417, allocations: 16 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.1418, allocations: 15.94 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1418, allocations: 4.188 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.142, allocations: 163.5 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 3.938 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1423, allocations: 24 kB / 478.5 MB, free: 6.449 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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.001794/0.1441, allocations: 1.172 MB / 479.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1445, allocations: 147.8 kB / 479.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1445, allocations: 0 / 479.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1446, allocations: 76.03 kB / 479.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.145, allocations: 19.94 kB / 479.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1467, allocations: 0.9809 MB / 480.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.1471, allocations: 0.7238 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1473, allocations: 32.52 kB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.1474, allocations: 39.42 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1474, allocations: 0 / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.1624, allocations: 3.033 MB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.1627, allocations: 216.3 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.941, allocations: 3.938 kB / 484.9 MB, free: 188 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat