Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.0008941/0.0008939, allocations: 98.42 kB / 17 MB, free: 6.477 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.001047/0.001048, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.39/1.39, allocations: 223.2 MB / 241.9 MB, free: 368 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.2113/0.2113, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 61.91 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002177/0.1301, allocations: 1.27 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.1309, allocations: 395.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.1309, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006244/0.1316, allocations: 447.2 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.1319, allocations: 239.5 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1323, allocations: 155.2 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1325, allocations: 123.7 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.1327, allocations: 11.98 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1328, allocations: 99.78 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.133, allocations: 167.7 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.133, allocations: 4 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.1331, allocations: 8 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.1332, allocations: 83.69 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1332, allocations: 65.52 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1334, allocations: 176 kB / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1335, allocations: 0 / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1335, allocations: 0 / 474.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1335, allocations: 0 / 474.9 MB, free: 10.42 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.0006657/0.1341, allocations: 0.5987 MB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.1342, allocations: 12.02 kB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.1342, allocations: 38.5 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.1343, allocations: 43.44 kB / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1345, allocations: 271.4 kB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1345, allocations: 4 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.1346, allocations: 3.953 kB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1347, allocations: 53.69 kB / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.1347, allocations: 0 / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1347, allocations: 4 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1347, allocations: 0 / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1348, allocations: 27.97 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1353, allocations: 396.7 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.1353, allocations: 34.56 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.1354, allocations: 16.91 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1354, allocations: 0 / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1355, allocations: 38.56 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1355, allocations: 4 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000266/0.1358, allocations: 109 kB / 476.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1358, allocations: 51.41 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.1367, allocations: 0.8652 MB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1368, allocations: 25.7 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1369, allocations: 228.2 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.137, allocations: 11.84 kB / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.137, allocations: 0 / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.1372, allocations: 358.8 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.1373, allocations: 15.98 kB / 478 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.1373, allocations: 11.94 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.1373, allocations: 24.05 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1374, allocations: 0 / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001436/0.1375, allocations: 93.16 kB / 478.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1375, allocations: 4 kB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1375, allocations: 0 / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1375, allocations: 0 / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.1376, allocations: 11.98 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1376, allocations: 0 / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1377, allocations: 8.031 kB / 478.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1377, allocations: 0 / 478.2 MB, free: 6.863 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.0001942/0.1379, allocations: 218.2 kB / 478.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.138, allocations: 39.44 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.1382, allocations: 112.6 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1382, allocations: 7.984 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1382, allocations: 7.969 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1382, allocations: 0 / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.1385, allocations: 289.5 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1385, allocations: 3.984 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.1385, allocations: 8 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1385, allocations: 0 / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1386, allocations: 0 / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1386, allocations: 0 / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1386, allocations: 0 / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1388, allocations: 199 kB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.1388, allocations: 108.6 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.1389, allocations: 0 / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1389, allocations: 7.984 kB / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.139, allocations: 4 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.139, allocations: 3.938 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.1397, allocations: 0.6589 MB / 479.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1397, allocations: 0 / 479.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1399, allocations: 19.91 kB / 479.8 MB, free: 5.094 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.001091/0.141, allocations: 0.9733 MB / 480.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1412, allocations: 35.98 kB / 480.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1412, allocations: 0 / 480.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.1412, allocations: 11.94 kB / 480.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1416, allocations: 26.3 kB / 480.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.1445, allocations: 2.272 MB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.1452, allocations: 0.8245 MB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.1452, allocations: 12.17 kB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1454, allocations: 115.4 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1454, allocations: 0 / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1632, allocations: 5.163 MB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.1635, allocations: 240.9 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.042, allocations: 64 / 489.5 MB, free: 11.54 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat