Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001085/0.001085, allocations: 92.22 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.001175/0.001175, allocations: 185.3 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.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.21 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 61.93 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002095/0.1286, allocations: 1.329 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006753/0.1293, allocations: 387.6 kB / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.1293, allocations: 0 / 473.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.1295, allocations: 55.86 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1297, allocations: 47.81 kB / 473.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.1301, allocations: 159.1 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1303, allocations: 51.88 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1304, allocations: 23.91 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.1304, allocations: 23.92 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1305, allocations: 39.83 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1306, allocations: 0 / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.1307, allocations: 39.92 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1307, allocations: 15.92 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1308, allocations: 37.64 kB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1309, allocations: 88.08 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1309, allocations: 0 / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1309, allocations: 4 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.131, allocations: 0 / 473.8 MB, free: 11.33 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.0005391/0.1315, allocations: 410.9 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1315, allocations: 8.031 kB / 474.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.1316, allocations: 30.56 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.1316, allocations: 11.81 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1319, allocations: 194.9 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1319, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1319, allocations: 7.953 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1321, allocations: 73.61 kB / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1321, allocations: 3.938 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1321, allocations: 3.984 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1321, allocations: 4 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.1323, allocations: 47.97 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1327, allocations: 328.8 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.133, allocations: 70.48 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.133, allocations: 3.984 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1331, allocations: 34.56 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1331, allocations: 0 / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001509/0.1346, allocations: 497.4 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1346, allocations: 59.33 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1349, allocations: 202.1 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1349, allocations: 25.7 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.135, allocations: 104 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.135, allocations: 35.45 kB / 475.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.135, allocations: 8 kB / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1352, allocations: 326.8 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1353, allocations: 59.89 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1354, allocations: 67.89 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1356, allocations: 67.97 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1356, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003483/0.136, allocations: 177.5 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.136, allocations: 8 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.136, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.136, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1361, allocations: 35.92 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1361, allocations: 0 / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.1362, allocations: 15.98 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1362, allocations: 3.953 kB / 476.7 MB, free: 8.234 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 9.916e-05/0.1363, allocations: 130.4 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.1364, allocations: 15.75 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.1368, allocations: 210.2 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1368, allocations: 4 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1368, allocations: 0 / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1368, allocations: 3.984 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.1375, allocations: 0.5155 MB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1375, allocations: 4 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1376, allocations: 27.98 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1376, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1377, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1377, allocations: 12.02 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1377, allocations: 0 / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1381, allocations: 313 kB / 477.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.1381, allocations: 92.95 kB / 478 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1382, allocations: 12 kB / 478 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1383, allocations: 15.98 kB / 478 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1383, allocations: 11.98 kB / 478 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1383, allocations: 4 kB / 478 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1385, allocations: 147.2 kB / 478.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1385, allocations: 0 / 478.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1387, allocations: 27.91 kB / 478.2 MB, free: 6.578 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.001576/0.1403, allocations: 1.331 MB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.1407, allocations: 143.8 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1407, allocations: 4 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1409, allocations: 75.91 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1411, allocations: 19.98 kB / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1426, allocations: 0.9233 MB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1429, allocations: 0.7161 MB / 481.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.143, allocations: 36.38 kB / 481.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.143, allocations: 39.42 kB / 481.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1431, allocations: 0 / 481.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.156, allocations: 2.935 MB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.1562, allocations: 227.8 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.85, allocations: 3.938 kB / 484.7 MB, free: 292 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat