Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.0009269/0.0009268, allocations: 96.64 kB / 16.99 MB, free: 6.402 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.001047/0.001047, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.398/1.398, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2283/0.2283, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004029, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001833/0.1428, allocations: 1.259 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1441, allocations: 0.9453 MB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.1441, allocations: 3.938 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1444, allocations: 15.92 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1445, allocations: 31.91 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1447, allocations: 67.84 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1448, allocations: 39.89 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.1449, allocations: 11.98 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.145, allocations: 19.92 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1451, allocations: 27.78 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1451, allocations: 4 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.1452, allocations: 24 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.1453, allocations: 7.984 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1453, allocations: 33.64 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1454, allocations: 68.11 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1454, allocations: 4 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1454, allocations: 4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1454, allocations: 3.938 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.0004419/0.1459, allocations: 371.1 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1459, allocations: 12.03 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.146, allocations: 30.56 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.146, allocations: 8 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1462, allocations: 190 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1462, allocations: 4 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1462, allocations: 7.953 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1464, allocations: 63.41 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1464, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1464, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1464, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.1465, allocations: 27.97 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.1468, allocations: 272.9 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.147, allocations: 42.56 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1471, allocations: 4.078 kB / 475.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1471, allocations: 42.56 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1471, allocations: 3.938 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005083/0.1476, allocations: 153.3 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1477, allocations: 77.11 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1478, allocations: 137.8 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1478, allocations: 25.7 kB / 475.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.1479, allocations: 92.08 kB / 475.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1479, allocations: 15.8 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1479, allocations: 3.938 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.148, allocations: 322.8 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.1481, allocations: 23.98 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1481, allocations: 33.7 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.85e-05/0.1482, allocations: 23.98 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1482, allocations: 0 / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.1484, allocations: 89.61 kB / 476.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1484, allocations: 8 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1485, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1485, allocations: 3.984 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.1485, allocations: 12 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1485, allocations: 7.938 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1486, allocations: 7.984 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1486, allocations: 0 / 476.2 MB, free: 8.738 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 7.65e-05/0.1487, allocations: 118.3 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1487, allocations: 7.906 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1489, allocations: 97.88 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.149, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.149, allocations: 8 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.149, allocations: 0 / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.1494, allocations: 362.4 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1494, allocations: 0 / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.1494, allocations: 15.98 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1494, allocations: 288 / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1495, allocations: 4 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1495, allocations: 0 / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1495, allocations: 0 / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.1497, allocations: 195.3 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1497, allocations: 92.94 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1498, allocations: 0 / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1498, allocations: 8 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1499, allocations: 3.984 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.1499, allocations: 4 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.15, allocations: 103.3 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1502, allocations: 27.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.001366/0.1516, allocations: 1.054 MB / 478.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1518, allocations: 55.97 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1518, allocations: 0 / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.1519, allocations: 27.98 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1521, allocations: 7.984 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.1531, allocations: 0.5261 MB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1534, allocations: 0.6926 MB / 479.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1535, allocations: 8.125 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.1535, allocations: 27.42 kB / 479.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1535, allocations: 3.938 kB / 479.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.1673, allocations: 2.271 MB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.1677, allocations: 223.3 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.954, allocations: 0 / 482.1 MB, free: 2.887 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat does not exist to compare? outputFormat=mat