Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",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.0009428/0.0009432, allocations: 94.89 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.001097/0.001097, allocations: 180.8 kB / 17.87 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.317/1.317, allocations: 223.2 MB / 241.8 MB, free: 416 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.1867/0.1867, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003287, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002149/0.1515, allocations: 1.33 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.1522, allocations: 379.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.1523, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1526, allocations: 63.84 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1528, allocations: 55.8 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1531, allocations: 111.1 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1532, allocations: 51.86 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1533, allocations: 23.97 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.1534, allocations: 23.92 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.1535, allocations: 39.83 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1535, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.1536, allocations: 35.98 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1537, allocations: 15.92 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1537, allocations: 37.64 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.1539, allocations: 92.02 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1539, allocations: 0 / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1539, allocations: 4 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1539, allocations: 0 / 473.8 MB, free: 11.41 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.0005734/0.1545, allocations: 407 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1546, allocations: 12.03 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.1546, allocations: 34.56 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1547, allocations: 15.81 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1549, allocations: 199.5 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1549, allocations: 7.938 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.155, allocations: 7.953 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1551, allocations: 69.66 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1552, allocations: 0 / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1552, allocations: 4 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1552, allocations: 0 / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1553, allocations: 51.91 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1558, allocations: 304.7 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1561, allocations: 62.64 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1561, allocations: 3.938 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1561, allocations: 34.56 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1561, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.1576, allocations: 464.9 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1576, allocations: 51.41 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1579, allocations: 215.3 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1579, allocations: 29.7 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.158, allocations: 104.1 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.158, allocations: 43.39 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.158, allocations: 0 / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1582, allocations: 326.8 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1583, allocations: 47.97 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1584, allocations: 55.97 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1586, allocations: 51.92 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1586, allocations: 0 / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003214/0.1589, allocations: 161.4 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1589, allocations: 10.19 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.159, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.159, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1591, allocations: 31.98 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1591, allocations: 0.5625 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.1592, allocations: 19.98 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1592, allocations: 3.953 kB / 476.5 MB, free: 8.41 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 0.0001245/0.1593, allocations: 134.3 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1594, allocations: 15.91 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.1598, allocations: 183.2 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1598, allocations: 4 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1598, allocations: 3.938 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1598, allocations: 4 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.1605, allocations: 488 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1605, allocations: 7.984 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1606, allocations: 31.92 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1606, allocations: 0 / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1607, allocations: 8.062 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1607, allocations: 7.953 kB / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1607, allocations: 0 / 477.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1611, allocations: 288.4 kB / 477.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1611, allocations: 88.97 kB / 477.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1612, allocations: 8 kB / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1613, allocations: 19.97 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1613, allocations: 11.92 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1614, allocations: 8 kB / 477.8 MB, free: 7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1615, allocations: 160.9 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 4 kB / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1618, allocations: 24 kB / 478 MB, free: 6.816 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.001734/0.1635, allocations: 1.316 MB / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.1639, allocations: 123.9 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1639, allocations: 0 / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1641, allocations: 67.91 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1643, allocations: 15.98 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1658, allocations: 0.8886 MB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1661, allocations: 0.7199 MB / 481.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.1662, allocations: 12.56 kB / 481.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1663, allocations: 35.42 kB / 481.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1663, allocations: 0 / 481.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.1806, allocations: 2.888 MB / 484.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1809, allocations: 215.8 kB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.008, allocations: 4 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat does not exist to compare? outputFormat=mat