Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.0009788/0.0009788, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.0008979/0.000898, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.412/1.412, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.245/0.245, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003518, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002014/0.1477, allocations: 1.263 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1493, allocations: 0.9414 MB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.1494, allocations: 0 / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1497, allocations: 19.86 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1499, allocations: 35.84 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1502, allocations: 63.91 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1504, allocations: 39.89 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.1505, allocations: 15.98 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1505, allocations: 15.92 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1507, allocations: 31.78 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1507, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1509, allocations: 27.98 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1509, allocations: 7.938 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1509, allocations: 33.7 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1511, allocations: 68.11 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.1511, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1511, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1511, allocations: 4 kB / 474.1 MB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005171/0.1517, allocations: 375.1 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1517, allocations: 8.031 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1518, allocations: 38.5 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1518, allocations: 7.938 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.152, allocations: 186.9 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1521, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1521, allocations: 7.953 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1523, allocations: 63.41 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1523, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1523, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1523, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1525, allocations: 31.91 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1529, allocations: 272.9 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1531, allocations: 42.56 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1532, allocations: 0 / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1532, allocations: 34.56 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.797e-06/0.1532, allocations: 0 / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006261/0.1538, allocations: 157.3 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1539, allocations: 85.11 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1541, allocations: 136.8 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1541, allocations: 25.7 kB / 475.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.1542, allocations: 96.02 kB / 475.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1542, allocations: 15.8 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.1542, allocations: 4 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1544, allocations: 318.8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.1545, allocations: 27.98 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.1545, allocations: 37.69 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.1546, allocations: 16 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1546, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002119/0.1548, allocations: 93.59 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1549, allocations: 4 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1549, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1549, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.155, allocations: 19.94 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.068e-06/0.155, allocations: 3.984 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1551, allocations: 12 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1551, allocations: 0 / 476.2 MB, free: 8.734 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 (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.0001002/0.1552, allocations: 118.3 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.1552, allocations: 7.906 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.1555, allocations: 102.1 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1555, allocations: 0 / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1555, allocations: 0 / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1556, allocations: 11.97 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.156, allocations: 350.5 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.156, allocations: 7.938 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1561, allocations: 15.98 kB / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1561, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1561, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1561, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1561, allocations: 0 / 476.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1564, allocations: 191.3 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1564, allocations: 93 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.1565, allocations: 3.938 kB / 477.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1565, allocations: 7.984 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1566, allocations: 4 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1566, allocations: 0 / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.442e-05/0.1567, allocations: 103.3 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1567, allocations: 4 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.157, allocations: 23.98 kB / 477.2 MB, free: 7.605 MB / 350.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.001383/0.1583, allocations: 1.056 MB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1586, allocations: 55.95 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1586, allocations: 0 / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.1587, allocations: 27.98 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1589, allocations: 11.94 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.1599, allocations: 0.5284 MB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1601, allocations: 0.6887 MB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.1602, allocations: 8 kB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.1603, allocations: 23.42 kB / 479.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.1603, allocations: 0 / 479.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.176, allocations: 2.27 MB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.1763, allocations: 225.2 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.91, allocations: 4 kB / 482.1 MB, free: 2.887 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat