Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26",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.0009345/0.0009345, allocations: 97.02 kB / 16.99 MB, free: 6.402 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.0008817/0.0008818, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2126/0.2126, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003242, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001985/0.1301, allocations: 1.275 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.1309, allocations: 371.6 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.1309, allocations: 4 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1312, allocations: 71.77 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1314, allocations: 51.86 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1317, allocations: 75.73 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1318, allocations: 55.86 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1319, allocations: 12.19 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.132, allocations: 27.89 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1321, allocations: 39.84 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1321, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.1322, allocations: 35.91 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1323, allocations: 19.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.1323, allocations: 29.7 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1325, allocations: 68.19 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1325, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1325, allocations: 3.938 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1325, allocations: 4 kB / 473.7 MB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005256/0.133, allocations: 399 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1331, allocations: 11.97 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1331, allocations: 34.56 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1332, allocations: 11.91 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1334, allocations: 194.8 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1334, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1334, allocations: 7.859 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1336, allocations: 61.62 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1336, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1336, allocations: 0 / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1336, allocations: 4 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1337, allocations: 27.97 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1341, allocations: 300.8 kB / 474.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1342, allocations: 42.5 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1343, allocations: 0 / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1343, allocations: 30.56 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1343, allocations: 4 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008481/0.1351, allocations: 249.2 kB / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1352, allocations: 51.41 kB / 475.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1354, allocations: 210.2 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1354, allocations: 25.7 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.1355, allocations: 104 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1355, allocations: 31.64 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.1355, allocations: 0 / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1356, allocations: 330.8 kB / 475.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.1357, allocations: 23.98 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.1358, allocations: 28.06 kB / 475.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.1359, allocations: 39.91 kB / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1359, allocations: 0 / 475.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001928/0.1361, allocations: 109.5 kB / 475.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1361, allocations: 4 kB / 475.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1361, allocations: 432 / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1361, allocations: 4 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1362, allocations: 19.98 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1362, allocations: 0 / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1363, allocations: 7.984 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1363, allocations: 11.94 kB / 476 MB, free: 8.938 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 9.517e-05/0.1364, allocations: 130.3 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1365, allocations: 7.906 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.1367, allocations: 134.6 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1367, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1367, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1368, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.1373, allocations: 423.1 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1373, allocations: 0 / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1374, allocations: 19.98 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1374, allocations: 0 / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1374, allocations: 0 / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1374, allocations: 11.97 kB / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1374, allocations: 4 kB / 476.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1377, allocations: 225.9 kB / 476.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1378, allocations: 88.92 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1378, allocations: 3.984 kB / 477 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1379, allocations: 12 kB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1379, allocations: 11.94 kB / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1379, allocations: 0 / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1381, allocations: 155.2 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.1384, allocations: 24 kB / 477.2 MB, free: 7.594 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.00133/0.1397, allocations: 1.171 MB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1399, allocations: 71.91 kB / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1399, allocations: 0 / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.14, allocations: 35.97 kB / 478.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1403, allocations: 23.94 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1414, allocations: 0.7368 MB / 479.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1417, allocations: 0.708 MB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.1417, allocations: 20.58 kB / 480 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.1418, allocations: 39.36 kB / 480 MB, free: 4.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1418, allocations: 0 / 480 MB, free: 4.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.154, allocations: 2.549 MB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.1542, allocations: 210.6 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.882, allocations: 0 / 482.8 MB, free: 2.191 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat