Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001151/0.001151, allocations: 95.89 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.001397/0.001397, allocations: 177.1 kB / 16.56 MB, free: 6.844 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.734/1.734, 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.4312/0.4312, allocations: 43.54 MB / 314.5 MB, free: 9.051 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.000563/0.0005631, allocations: 12 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002268/0.1481, allocations: 1.311 MB / 444.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.1488, allocations: 291.9 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.1489, allocations: 4 kB / 444.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1495, allocations: 435.2 kB / 444.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1499, allocations: 243.5 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1503, allocations: 139.7 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.1506, allocations: 119.7 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1507, allocations: 16.45 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.1509, allocations: 103.7 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1512, allocations: 151.7 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1512, allocations: 0 / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.1513, allocations: 23.94 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1514, allocations: 75.75 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.1515, allocations: 69.45 kB / 445.8 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1517, allocations: 191.7 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1517, allocations: 0 / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1517, allocations: 0 / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1517, allocations: 0 / 446 MB, free: 10.07 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.0007224/0.1525, allocations: 0.5948 MB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1525, allocations: 8.031 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.1526, allocations: 38.56 kB / 446.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.1526, allocations: 43.39 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.153, allocations: 279.4 kB / 446.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.153, allocations: 0 / 446.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.153, allocations: 4 kB / 446.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1532, allocations: 57.62 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1532, allocations: 4 kB / 447 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1532, allocations: 7.984 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1533, allocations: 0 / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1534, allocations: 31.94 kB / 447 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.154, allocations: 396.6 kB / 447.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1542, allocations: 58.48 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1543, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1543, allocations: 34.52 kB / 447.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1543, allocations: 4 kB / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000687/0.155, allocations: 244.3 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1551, allocations: 51.41 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/0.1559, allocations: 0.8691 MB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.156, allocations: 29.7 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1562, allocations: 224.1 kB / 448.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1562, allocations: 19.64 kB / 448.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1562, allocations: 0 / 448.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1564, allocations: 362.8 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.1565, allocations: 23.98 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.1566, allocations: 27.98 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.923e-05/0.1567, allocations: 32.16 kB / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1567, allocations: 0 / 449.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000243/0.1569, allocations: 125.1 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.157, allocations: 15.89 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.157, allocations: 0 / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.157, allocations: 8.031 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.1571, allocations: 15.92 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1571, allocations: 4 kB / 449.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.1572, allocations: 8 kB / 449.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1572, allocations: 3.984 kB / 449.6 MB, free: 6.262 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 (5): * Single equations (assignments): 5 * 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.0002081/0.1574, allocations: 217.8 kB / 449.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.1575, allocations: 43.44 kB / 449.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.1578, allocations: 153 kB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1578, allocations: 0 / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1578, allocations: 4 kB / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1578, allocations: 4 kB / 450 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.1585, allocations: 474.5 kB / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1585, allocations: 7.891 kB / 450.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.1585, allocations: 15.98 kB / 450.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1586, allocations: 4 kB / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.1586, allocations: 0 / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1586, allocations: 0 / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1586, allocations: 0 / 450.5 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1589, allocations: 227.1 kB / 450.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.159, allocations: 124.5 kB / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.159, allocations: 0 / 450.8 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.1591, allocations: 8 kB / 450.8 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1591, allocations: 3.984 kB / 450.8 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1591, allocations: 4 kB / 450.8 MB, free: 4.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006212/0.1598, allocations: 0.655 MB / 451.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.1598, allocations: 0 / 451.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.16, allocations: 27.94 kB / 451.5 MB, free: 4.211 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 (5): * Single equations (assignments): 5 * 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.001318/0.1614, allocations: 1.062 MB / 452.6 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.1616, allocations: 63.97 kB / 452.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.1616, allocations: 3.938 kB / 452.6 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.1617, allocations: 27.98 kB / 452.7 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.162, allocations: 26.3 kB / 452.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.1648, allocations: 2.252 MB / 454.9 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2399/0.4047, allocations: 0.8297 MB / 455.8 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.4049, allocations: 15.12 kB / 455.8 MB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.4051, allocations: 111.7 kB / 455.9 MB, free: 45.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4051, allocations: 0 / 455.9 MB, free: 45.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.4215, allocations: 5.407 MB / 461.3 MB, free: 45.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.4218, allocations: 225.8 kB / 461.5 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.263, allocations: 0 / 461.5 MB, free: 45.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat