Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27",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.0008101/0.0008101, allocations: 97.05 kB / 17 MB, free: 6.371 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.0008485/0.0008482, allocations: 185.6 kB / 17.89 MB, free: 5.934 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.349/1.349, allocations: 223.2 MB / 241.9 MB, free: 14.61 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.1858/0.1858, allocations: 44.23 MB / 337.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 61.94 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002479/0.1454, allocations: 1.27 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1464, allocations: 383.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.1465, allocations: 0 / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1468, allocations: 123.8 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.1472, allocations: 71.84 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1475, allocations: 103.1 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1477, allocations: 75.8 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1478, allocations: 12.17 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.148, allocations: 43.83 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1481, allocations: 63.84 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1481, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1483, allocations: 39.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.1483, allocations: 23.92 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.1484, allocations: 41.64 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1486, allocations: 88.09 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1486, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1486, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1487, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006626/0.1493, allocations: 410.8 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1494, allocations: 8.031 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.1494, allocations: 34.56 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1495, allocations: 19.81 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1497, allocations: 198.7 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1497, allocations: 4 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1498, allocations: 11.86 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1499, allocations: 57.67 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1499, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.15, allocations: 3.984 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.15, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1501, allocations: 35.97 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.1506, allocations: 312.7 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1507, allocations: 50.55 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1507, allocations: 16.86 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1508, allocations: 8.078 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1508, allocations: 34.56 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1508, allocations: 0 / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009765/0.1518, allocations: 268.9 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.1518, allocations: 55.34 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1521, allocations: 274.2 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1521, allocations: 25.7 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1523, allocations: 112.1 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1523, allocations: 27.56 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.1523, allocations: 0 / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1525, allocations: 334.8 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1526, allocations: 31.98 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1527, allocations: 36.05 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.1528, allocations: 40.05 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1528, allocations: 7.938 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002208/0.153, allocations: 121.5 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1531, allocations: 4 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1531, allocations: 4 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1531, allocations: 0 / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1532, allocations: 23.92 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1532, allocations: 4 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.1533, allocations: 8 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1533, allocations: 0 / 476.5 MB, free: 8.516 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.0002442/0.1536, allocations: 142.3 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1536, allocations: 15.81 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.154, allocations: 139 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.154, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.154, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.154, allocations: 3.938 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.1547, allocations: 451.1 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1547, allocations: 0 / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.1548, allocations: 16 kB / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1548, allocations: 0 / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1548, allocations: 4 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.1549, allocations: 3.984 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1549, allocations: 7.891 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1552, allocations: 228.5 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.1553, allocations: 85.44 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1553, allocations: 7.984 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.1554, allocations: 12 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.1555, allocations: 11.94 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1555, allocations: 0 / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1557, allocations: 199.2 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1557, allocations: 0 / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.156, allocations: 27.98 kB / 477.8 MB, free: 7.082 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.001504/0.1575, allocations: 1.111 MB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1577, allocations: 75.95 kB / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1577, allocations: 0 / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.1578, allocations: 51.91 kB / 479.1 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1582, allocations: 16.17 kB / 479.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1597, allocations: 0.9222 MB / 480 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1601, allocations: 0.716 MB / 480.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.1602, allocations: 20.95 kB / 480.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1602, allocations: 39.42 kB / 480.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1602, allocations: 0 / 480.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.1747, allocations: 2.897 MB / 483.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.175, allocations: 215.5 kB / 483.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.057, allocations: 0 / 483.9 MB, free: 1.188 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat does not exist to compare? outputFormat=mat