Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",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.00212/0.00212, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001168/0.001168, allocations: 100.6 kB / 270.9 MB, free: 8.387 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.6213/0.6213, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006378, allocations: 8 kB / 431.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1467, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.6357, allocations: 86.45 MB / 0.5633 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.636, allocations: 75.97 kB / 0.5633 GB, free: 48 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.6524, allocations: 3.62 MB / 0.5669 GB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6525, allocations: 4 kB / 0.5669 GB, free: 12.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.6525, allocations: 0 / 0.5669 GB, free: 12.46 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.0005796/0.6531, allocations: 395.1 kB / 0.5672 GB, free: 12.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.6531, allocations: 12.03 kB / 0.5673 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.6532, allocations: 36.23 kB / 0.5673 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.6532, allocations: 11.34 kB / 0.5673 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.6535, allocations: 194.9 kB / 0.5675 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6536, allocations: 4 kB / 0.5675 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.6536, allocations: 8 kB / 0.5675 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.6538, allocations: 49.34 kB / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6538, allocations: 0 / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6539, allocations: 1.031 kB / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6539, allocations: 0 / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.654, allocations: 31.97 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.6546, allocations: 292.8 kB / 0.5679 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.6548, allocations: 46.55 kB / 0.5679 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.6549, allocations: 4 kB / 0.5679 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6549, allocations: 30.56 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.6549, allocations: 4 kB / 0.5679 GB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009182/0.6559, allocations: 171.6 kB / 0.5681 GB, free: 11.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.6559, allocations: 59.39 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.6562, allocations: 145 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.6562, allocations: 25.7 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.6563, allocations: 162.6 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.6564, allocations: 15.73 kB / 0.5685 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.6564, allocations: 3.938 kB / 0.5685 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6565, allocations: 318.8 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.6567, allocations: 24.17 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.6568, allocations: 23.98 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.657, allocations: 31.92 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.657, allocations: 0 / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003382/0.6574, allocations: 89.66 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.6574, allocations: 4 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6574, allocations: 4 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6574, allocations: 3.953 kB / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.6576, allocations: 15.98 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6576, allocations: 0 / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.6577, allocations: 8 kB / 0.569 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.6577, allocations: 2.656 kB / 0.569 GB, free: 10.08 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 () * 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.0001299/0.6578, allocations: 125.8 kB / 0.5691 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.6579, allocations: 11.91 kB / 0.5691 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.6583, allocations: 118.7 kB / 0.5692 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6583, allocations: 3.953 kB / 0.5692 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6584, allocations: 0 / 0.5692 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6584, allocations: 0 / 0.5692 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.6591, allocations: 366.8 kB / 0.5696 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6591, allocations: 4.062 kB / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.6593, allocations: 19.98 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6593, allocations: 4.703 kB / 0.5696 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6593, allocations: 4 kB / 0.5696 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6593, allocations: 0 / 0.5696 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6593, allocations: 0 / 0.5696 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.6597, allocations: 199.4 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.6598, allocations: 85.02 kB / 0.5699 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.6598, allocations: 4.234 kB / 0.5699 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.66, allocations: 7.984 kB / 0.5699 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.66, allocations: 11.94 kB / 0.5699 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.66, allocations: 3.938 kB / 0.5699 GB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.6602, allocations: 125.3 kB / 0.57 GB, free: 8.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6602, allocations: 4 kB / 0.57 GB, free: 8.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.6606, allocations: 23.92 kB / 0.5701 GB, free: 8.875 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 () * 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.001814/0.6624, allocations: 1.03 MB / 0.5711 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.6628, allocations: 59.89 kB / 0.5711 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6628, allocations: 0 / 0.5711 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.6629, allocations: 35.98 kB / 0.5712 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.6633, allocations: 15.92 kB / 0.5712 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.6649, allocations: 0.6448 MB / 0.5718 GB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.6653, allocations: 0.7043 MB / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.6654, allocations: 27.5 kB / 0.5725 GB, free: 6.355 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6654, allocations: 0 / 0.5725 GB, free: 6.355 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.673/3.338, allocations: 1.904 MB / 0.5744 GB, free: 4.453 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat does not exist to compare? outputFormat=mat