Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001036/0.001036, allocations: 93.62 kB / 17 MB, free: 6.121 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.001266/0.001266, allocations: 183 kB / 17.89 MB, free: 5.699 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.405/1.405, allocations: 223.3 MB / 241.9 MB, free: 324 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.2124/0.2124, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002024/0.1345, allocations: 1.317 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.1353, allocations: 415.6 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1353, allocations: 4 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.1359, allocations: 447.1 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1362, allocations: 243.5 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.1366, allocations: 151.4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1368, allocations: 135.7 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1369, allocations: 20 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1371, allocations: 103.7 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1373, allocations: 163.7 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1373, allocations: 4 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1374, allocations: 43.98 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1375, allocations: 83.69 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.1376, allocations: 69.52 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1379, allocations: 199.9 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1379, allocations: 0 / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1379, allocations: 0 / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1379, allocations: 0 / 475 MB, free: 10.24 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.0008096/0.1387, allocations: 0.591 MB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1388, allocations: 23.91 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.1388, allocations: 38.55 kB / 475.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.1389, allocations: 43.44 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1392, allocations: 275.3 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1392, allocations: 4 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1392, allocations: 11.95 kB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1394, allocations: 61.66 kB / 476.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1395, allocations: 3.938 kB / 476.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1395, allocations: 0 / 476.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1395, allocations: 8 kB / 476.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1396, allocations: 35.97 kB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.1402, allocations: 412.6 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1403, allocations: 54.59 kB / 476.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.1404, allocations: 20.94 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1404, allocations: 0 / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.1405, allocations: 38.56 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1405, allocations: 0 / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.1415, allocations: 347.9 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1416, allocations: 51.41 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.1424, allocations: 0.8691 MB / 477.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1425, allocations: 29.64 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1426, allocations: 235.9 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1427, allocations: 15.66 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1427, allocations: 8 kB / 478.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1429, allocations: 362.8 kB / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.1429, allocations: 35.97 kB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.143, allocations: 35.97 kB / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.1431, allocations: 43.98 kB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1431, allocations: 0 / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.1434, allocations: 145.1 kB / 478.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1434, allocations: 4 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1434, allocations: 0 / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1434, allocations: 4 kB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1435, allocations: 27.92 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1435, allocations: 3.938 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.1436, allocations: 15.94 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1436, allocations: 7.938 kB / 478.8 MB, free: 6.191 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 (8): * Single equations (assignments): 8 * 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.0001928/0.1438, allocations: 210.3 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.1439, allocations: 43.44 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.1442, allocations: 181.8 kB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1442, allocations: 0 / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1443, allocations: 0 / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1443, allocations: 0 / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.145, allocations: 0.5342 MB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.145, allocations: 3.938 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.145, allocations: 19.98 kB / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1451, allocations: 0 / 479.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1451, allocations: 4 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1451, allocations: 7.984 kB / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1451, allocations: 0 / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1454, allocations: 256.2 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.1455, allocations: 116.5 kB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1455, allocations: 4 kB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.1456, allocations: 15.92 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1457, allocations: 11.94 kB / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1457, allocations: 4 kB / 480.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006587/0.1464, allocations: 0.6511 MB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1464, allocations: 0 / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1466, allocations: 31.98 kB / 480.9 MB, free: 4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001485/0.1481, allocations: 1.133 MB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1484, allocations: 87.89 kB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1484, allocations: 0 / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.1485, allocations: 51.84 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1488, allocations: 30.56 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.1519, allocations: 2.44 MB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1524, allocations: 0.834 MB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.979e-05/0.1525, allocations: 20.42 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.1527, allocations: 115.4 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1527, allocations: 0 / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.1691, allocations: 5.765 MB / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1693, allocations: 226.6 kB / 491.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.13, allocations: 4 kB / 491.6 MB, free: 9.461 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat