Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",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.001368/0.001369, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 175.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3948/0.3948, allocations: 43.55 MB / 314.5 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007974/0.0007974, allocations: 18.97 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.15, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.001859/0.1519, allocations: 1.318 MB / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.1525, allocations: 275.9 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.1526, allocations: 0 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1528, allocations: 39.89 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1529, allocations: 47.8 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1533, allocations: 99.81 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1534, allocations: 39.89 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.1535, allocations: 16.16 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.1536, allocations: 27.92 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.1536, allocations: 23.92 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1537, allocations: 0 / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.1537, allocations: 23.86 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.1538, allocations: 19.97 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1538, allocations: 37.64 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.154, allocations: 60.12 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.154, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.154, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.154, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.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.0004932/0.1545, allocations: 395 kB / 445.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1545, allocations: 8.031 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.1546, allocations: 38.5 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.1546, allocations: 11.86 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1548, allocations: 195.4 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.1549, allocations: 7.938 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1549, allocations: 4 kB / 445.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1551, allocations: 61.67 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1551, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1551, allocations: 4 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1551, allocations: 4 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1552, allocations: 43.86 kB / 445.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1557, allocations: 288.8 kB / 445.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1558, allocations: 50.56 kB / 445.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1558, allocations: 0 / 445.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1559, allocations: 38.64 kB / 446 MB, free: 9.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1559, allocations: 0 / 446 MB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007777/0.1567, allocations: 249.1 kB / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1567, allocations: 55.41 kB / 446.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1569, allocations: 174.9 kB / 446.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1569, allocations: 29.7 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.157, allocations: 92.14 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.157, allocations: 27.64 kB / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.157, allocations: 0 / 446.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1572, allocations: 318.8 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1573, allocations: 47.97 kB / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.1574, allocations: 31.98 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1575, allocations: 52.19 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1575, allocations: 0 / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002704/0.1578, allocations: 125.5 kB / 447.2 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1578, allocations: 7.953 kB / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1578, allocations: 0 / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1578, allocations: 0 / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.158, allocations: 27.92 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.158, allocations: 0 / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.158, allocations: 23.98 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1581, allocations: 0 / 447.2 MB, free: 8.594 MB / 382.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 (7): * Single equations (assignments): 7 * 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 8.388e-05/0.1581, allocations: 125.8 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1582, allocations: 12.19 kB / 447.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1585, allocations: 150.2 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1585, allocations: 3.984 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1585, allocations: 7.938 kB / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1585, allocations: 0 / 447.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.159, allocations: 406.5 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1591, allocations: 3.953 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.1592, allocations: 27.98 kB / 447.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1592, allocations: 3.938 kB / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1592, allocations: 0 / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1592, allocations: 0 / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1592, allocations: 3.984 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1595, allocations: 227.3 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1596, allocations: 88.97 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1597, allocations: 0 / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.1598, allocations: 19.98 kB / 448.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1598, allocations: 11.98 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1598, allocations: 0 / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.1599, allocations: 132.5 kB / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1599, allocations: 0 / 448.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1602, allocations: 27.98 kB / 448.4 MB, free: 7.266 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001319/0.1615, allocations: 1.055 MB / 449.5 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1618, allocations: 95.92 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1618, allocations: 0 / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1619, allocations: 51.91 kB / 449.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1622, allocations: 12 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1634, allocations: 0.7099 MB / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1637, allocations: 0.7043 MB / 451.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.1637, allocations: 20.41 kB / 451.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.1638, allocations: 23.44 kB / 451.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1638, allocations: 0 / 451.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1809, allocations: 2.373 MB / 453.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.1811, allocations: 206.1 kB / 453.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.917, allocations: 7.938 kB / 453.7 MB, free: 1.922 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat does not exist to compare? outputFormat=mat