Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009367/0.0009365, allocations: 86.59 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4666/0.4666, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.102e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6414, allocations: 86.4 MB / 0.5573 GB, free: 17.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.6417, allocations: 72.25 kB / 0.5574 GB, free: 17.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.6518, allocations: 4.048 MB / 0.5613 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6518, allocations: 0 / 0.5613 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.6518, allocations: 4 kB / 0.5613 GB, free: 14.92 MB / 394.7 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.0003506/0.6522, allocations: 395.4 kB / 0.5617 GB, free: 14.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6522, allocations: 11.97 kB / 0.5617 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.6523, allocations: 35.41 kB / 0.5617 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.6523, allocations: 20.88 kB / 0.5618 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.6525, allocations: 212 kB / 0.562 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-06/0.6526, allocations: 0 / 0.562 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.6526, allocations: 4 kB / 0.562 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.6527, allocations: 45.02 kB / 0.562 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6527, allocations: 1.375 kB / 0.562 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6527, allocations: 0 / 0.562 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.6527, allocations: 0 / 0.562 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.6528, allocations: 21.27 kB / 0.562 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.6532, allocations: 302.7 kB / 0.5623 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.6533, allocations: 40.44 kB / 0.5623 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.6534, allocations: 9.516 kB / 0.5624 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.6534, allocations: 1.828 kB / 0.5624 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.6534, allocations: 41.75 kB / 0.5624 GB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.6534, allocations: 3.938 kB / 0.5624 GB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003748/0.6538, allocations: 130 kB / 0.5625 GB, free: 13.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.6539, allocations: 52.86 kB / 0.5626 GB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.6541, allocations: 215.7 kB / 0.5628 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.6541, allocations: 29.7 kB / 0.5628 GB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.6541, allocations: 104.6 kB / 0.5629 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.6541, allocations: 24.7 kB / 0.5629 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.6542, allocations: 4 kB / 0.5629 GB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.6542, allocations: 324.1 kB / 0.5632 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.6543, allocations: 12.66 kB / 0.5633 GB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.6543, allocations: 10.55 kB / 0.5633 GB, free: 12.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.6543, allocations: 15.64 kB / 0.5633 GB, free: 12.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6543, allocations: 0 / 0.5633 GB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001022/0.6544, allocations: 80.12 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6545, allocations: 4 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6545, allocations: 0 / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6545, allocations: 4 kB / 0.5634 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.6546, allocations: 18.95 kB / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6546, allocations: 0 / 0.5634 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.6546, allocations: 9.594 kB / 0.5634 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.6546, allocations: 3.938 kB / 0.5634 GB, free: 12.83 MB / 394.7 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 () * 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.28e-05/0.6547, allocations: 104 kB / 0.5635 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6548, allocations: 13.31 kB / 0.5635 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.6549, allocations: 91.88 kB / 0.5636 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6549, allocations: 0 / 0.5636 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.655, allocations: 5.594 kB / 0.5636 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.655, allocations: 0 / 0.5636 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.6553, allocations: 373.6 kB / 0.564 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6553, allocations: 0 / 0.564 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.6554, allocations: 15.05 kB / 0.564 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6554, allocations: 0 / 0.564 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6555, allocations: 7.953 kB / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.6555, allocations: 1.547 kB / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6555, allocations: 0 / 0.564 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.6556, allocations: 174.8 kB / 0.5642 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.6557, allocations: 99.03 kB / 0.5642 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.6557, allocations: 1.359 kB / 0.5642 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.6558, allocations: 13.41 kB / 0.5643 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.6559, allocations: 5.875 kB / 0.5643 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.6559, allocations: 4 kB / 0.5643 GB, free: 11.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.6561, allocations: 180.6 kB / 0.5644 GB, free: 11.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6561, allocations: 0 / 0.5644 GB, free: 11.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.6564, allocations: 25.06 kB / 0.5645 GB, free: 11.81 MB / 394.7 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 () * 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.001117/0.6575, allocations: 0.965 MB / 0.5654 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.6576, allocations: 31.61 kB / 0.5654 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6576, allocations: 0 / 0.5654 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.6577, allocations: 16.56 kB / 0.5655 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.6579, allocations: 22.56 kB / 0.5655 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.6585, allocations: 255.8 kB / 0.5657 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.6587, allocations: 0.7164 MB / 0.5664 GB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.6588, allocations: 22.14 kB / 0.5664 GB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.6589, allocations: 37.45 kB / 0.5665 GB, free: 9.891 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6589, allocations: 0 / 0.5665 GB, free: 9.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.6732, allocations: 2.631 MB / 0.569 GB, free: 7.797 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.6735, allocations: 189.5 kB / 0.5692 GB, free: 7.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.166, allocations: 0 / 0.5692 GB, free: 7.566 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat does not exist to compare? outputFormat=mat