Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.0009937/0.0009936, allocations: 95.34 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.001007/0.001007, allocations: 177.9 kB / 16.57 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.535/1.535, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3952/0.3952, allocations: 43.54 MB / 314.5 MB, free: 8.805 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.0005144/0.0005149, allocations: 20 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1387, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.001878/0.1406, allocations: 1.307 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005172/0.1411, allocations: 275.9 kB / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1412, allocations: 0 / 444.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.1417, allocations: 443.2 kB / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.142, allocations: 239.5 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1423, allocations: 91.81 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1425, allocations: 107.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.1426, allocations: 16.17 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1427, allocations: 103.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1429, allocations: 143.8 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1429, allocations: 3.938 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.143, allocations: 23.92 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.1431, allocations: 79.75 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.1431, allocations: 65.52 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1433, allocations: 187.9 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.1433, allocations: 0 / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1433, allocations: 0 / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1434, allocations: 7.938 kB / 445.9 MB, free: 9.883 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.0006478/0.144, allocations: 0.5871 MB / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1441, allocations: 8.031 kB / 446.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1441, allocations: 42.55 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.1442, allocations: 39.48 kB / 446.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1445, allocations: 279.3 kB / 446.9 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.1445, allocations: 3.938 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1445, allocations: 8 kB / 446.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1446, allocations: 53.62 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1447, allocations: 0 / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1447, allocations: 0 / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1447, allocations: 0 / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.1448, allocations: 39.92 kB / 447 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1452, allocations: 384.7 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1454, allocations: 46.5 kB / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1455, allocations: 0 / 447.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1455, allocations: 38.52 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1455, allocations: 0 / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005747/0.1461, allocations: 240.2 kB / 447.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1461, allocations: 51.41 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.1469, allocations: 0.8691 MB / 448.6 MB, free: 7.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1469, allocations: 29.7 kB / 448.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1471, allocations: 216.1 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.1471, allocations: 19.75 kB / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.1471, allocations: 0 / 448.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1473, allocations: 358.8 kB / 449.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1473, allocations: 23.98 kB / 449.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.1474, allocations: 23.98 kB / 449.2 MB, free: 6.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.1475, allocations: 23.98 kB / 449.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1475, allocations: 0 / 449.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.1477, allocations: 129.1 kB / 449.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1477, allocations: 11.95 kB / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1477, allocations: 0 / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1477, allocations: 3.984 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.1478, allocations: 15.98 kB / 449.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1478, allocations: 3.984 kB / 449.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1479, allocations: 4 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1479, allocations: 4.25 kB / 449.4 MB, free: 6.141 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.000165/0.1481, allocations: 221.8 kB / 449.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1481, allocations: 39.44 kB / 449.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1484, allocations: 149 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1484, allocations: 7.938 kB / 449.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1484, allocations: 7.938 kB / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1484, allocations: 0 / 449.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1489, allocations: 466.5 kB / 450.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1489, allocations: 3.953 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.149, allocations: 19.92 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.149, allocations: 4 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.149, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.149, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.149, allocations: 0 / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1493, allocations: 219 kB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.1493, allocations: 112.6 kB / 450.6 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1494, allocations: 8 kB / 450.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.1495, allocations: 4 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1495, allocations: 3.984 kB / 450.7 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1495, allocations: 4 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005752/0.1501, allocations: 0.6511 MB / 451.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1501, allocations: 0 / 451.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1504, allocations: 31.91 kB / 451.3 MB, free: 4.109 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.001212/0.1516, allocations: 1.054 MB / 452.4 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1517, allocations: 55.97 kB / 452.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1518, allocations: 0 / 452.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1518, allocations: 31.92 kB / 452.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1521, allocations: 25.95 kB / 452.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.1546, allocations: 2.212 MB / 454.7 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2032/0.3578, allocations: 0.8228 MB / 455.5 MB, free: 45.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.3579, allocations: 12.89 kB / 455.6 MB, free: 45.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3581, allocations: 98.16 kB / 455.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3581, allocations: 0 / 455.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.3722, allocations: 5.358 MB / 461 MB, free: 45.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.3723, allocations: 212 kB / 461.2 MB, free: 45.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.433, allocations: 3.938 kB / 461.2 MB, free: 45.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat