Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0008915/0.0008915, allocations: 96.28 kB / 15.69 MB, free: 480 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.001063/0.001064, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.675/1.675, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4317/0.4317, allocations: 43.54 MB / 314.5 MB, free: 9.027 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.0005093/0.0005094, allocations: 16 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002038/0.1493, allocations: 1.272 MB / 444.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000621/0.1499, allocations: 279.9 kB / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.15, allocations: 0 / 444.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1506, allocations: 443.1 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1509, allocations: 235.6 kB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1512, allocations: 147.6 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1514, allocations: 111.8 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1515, allocations: 15.98 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1517, allocations: 103.8 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1519, allocations: 143.8 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1519, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.1519, allocations: 8 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.152, allocations: 87.67 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.1521, allocations: 65.52 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1523, allocations: 183.9 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1523, allocations: 0 / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1523, allocations: 4 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1524, allocations: 0 / 445.9 MB, free: 10.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007176/0.1531, allocations: 0.5831 MB / 446.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.1531, allocations: 12.03 kB / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1532, allocations: 34.56 kB / 446.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1532, allocations: 39.48 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1536, allocations: 283.3 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1536, allocations: 0 / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1536, allocations: 8 kB / 446.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1538, allocations: 49.69 kB / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1538, allocations: 0 / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1538, allocations: 0 / 446.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.1538, allocations: 3.953 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.1539, allocations: 31.92 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.1544, allocations: 388.8 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.321e-05/0.1545, allocations: 34.56 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1546, allocations: 4.062 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1546, allocations: 34.52 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 3.456e-06/0.1546, allocations: 0 / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002703/0.1549, allocations: 117.1 kB / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1549, allocations: 51.41 kB / 447.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.1557, allocations: 0.8613 MB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1558, allocations: 29.7 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1559, allocations: 220.1 kB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.156, allocations: 15.97 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.156, allocations: 0 / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1561, allocations: 358.8 kB / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.1562, allocations: 11.98 kB / 449 MB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.1562, allocations: 12 kB / 449.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.1563, allocations: 11.98 kB / 449.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1563, allocations: 4.062 kB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001491/0.1565, allocations: 97.06 kB / 449.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1565, allocations: 11.94 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1565, allocations: 3.953 kB / 449.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1565, allocations: 3.984 kB / 449.2 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1566, allocations: 8 kB / 449.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1566, allocations: 0 / 449.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1567, allocations: 12.03 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1567, allocations: 0 / 449.2 MB, free: 6.613 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 (2): * Single equations (assignments): 2 * 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.0001859/0.1569, allocations: 213.8 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.1569, allocations: 43.44 kB / 449.5 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1571, allocations: 112.6 kB / 449.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1571, allocations: 3.953 kB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1572, allocations: 4.031 kB / 449.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1572, allocations: 3.984 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1574, allocations: 281.6 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1574, allocations: 0 / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.1575, allocations: 4 kB / 449.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1575, allocations: 0 / 449.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1575, allocations: 4 kB / 449.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1575, allocations: 0 / 449.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1575, allocations: 3.953 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.1577, allocations: 191.1 kB / 450 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.1578, allocations: 116.5 kB / 450.2 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1579, allocations: 0 / 450.2 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.1579, allocations: 11.92 kB / 450.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.158, allocations: 7.891 kB / 450.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.158, allocations: 0 / 450.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005835/0.1586, allocations: 0.6589 MB / 450.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 450.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1588, allocations: 16 kB / 450.9 MB, free: 4.859 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 (2): * Single equations (assignments): 2 * 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.00113/0.16, allocations: 0.9624 MB / 451.8 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1601, allocations: 27.98 kB / 451.8 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1601, allocations: 8 kB / 451.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.1602, allocations: 16 kB / 451.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1605, allocations: 22.3 kB / 451.9 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1631, allocations: 2.178 MB / 454.1 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.1636, allocations: 0.8301 MB / 454.9 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.1636, allocations: 8.172 kB / 454.9 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1638, allocations: 107.4 kB / 455 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1638, allocations: 0 / 455 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.4196, allocations: 5.159 MB / 460.2 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.4198, allocations: 224.4 kB / 460.4 MB, free: 45.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.183, allocations: 3.375 kB / 460.4 MB, free: 45.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat