Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",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.002157/0.002157, allocations: 186 kB / 16.4 MB, free: 5.746 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.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001137/0.001137, allocations: 94.05 kB / 270.9 MB, free: 8.375 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.533/0.533, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007472/0.0007474, allocations: 20 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1368, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.6148, allocations: 87.22 MB / 0.564 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6151, allocations: 67.97 kB / 0.5641 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.6344, allocations: 4.284 MB / 0.5683 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6345, allocations: 0 / 0.5683 GB, free: 11.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6345, allocations: 12 kB / 0.5683 GB, free: 11.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006463/0.6352, allocations: 415.2 kB / 0.5687 GB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6352, allocations: 12.58 kB / 0.5687 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.6353, allocations: 34.56 kB / 0.5687 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.6354, allocations: 11.34 kB / 0.5687 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.6357, allocations: 206.8 kB / 0.5689 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6357, allocations: 4.562 kB / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.6357, allocations: 8 kB / 0.5689 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.636, allocations: 61.67 kB / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.636, allocations: 0 / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6361, allocations: 1.031 kB / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.6361, allocations: 0 / 0.569 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.6363, allocations: 59.38 kB / 0.569 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.637, allocations: 316.7 kB / 0.5693 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.6372, allocations: 54.56 kB / 0.5694 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.6372, allocations: 0 / 0.5694 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6373, allocations: 34.5 kB / 0.5694 GB, free: 9.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6373, allocations: 0 / 0.5694 GB, free: 9.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001342/0.6387, allocations: 273.6 kB / 0.5697 GB, free: 9.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.6387, allocations: 51.41 kB / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.639, allocations: 169.4 kB / 0.5699 GB, free: 9.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.6391, allocations: 29.7 kB / 0.5699 GB, free: 9.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.6392, allocations: 166.6 kB / 0.5701 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.6392, allocations: 23.64 kB / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.6392, allocations: 0 / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.6395, allocations: 318.8 kB / 0.5704 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.6401, allocations: 43.97 kB / 0.5705 GB, free: 8.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.6405, allocations: 47.97 kB / 0.5705 GB, free: 8.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.6409, allocations: 48.2 kB / 0.5706 GB, free: 8.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6409, allocations: 0 / 0.5706 GB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009264/0.6419, allocations: 137.5 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.6419, allocations: 8 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.642, allocations: 0 / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.642, allocations: 3.953 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.6424, allocations: 31.92 kB / 0.5707 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.6424, allocations: 4 kB / 0.5707 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.6426, allocations: 15.97 kB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6427, allocations: 4 kB / 0.5707 GB, free: 8.336 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 (7): * Single equations (assignments): 7 * 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.0002159/0.6429, allocations: 125.8 kB / 0.5709 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.643, allocations: 7.906 kB / 0.5709 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.6441, allocations: 166.2 kB / 0.571 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6441, allocations: 7.891 kB / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6442, allocations: 0 / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6442, allocations: 8 kB / 0.571 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.6458, allocations: 430.5 kB / 0.5715 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6458, allocations: 0 / 0.5715 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.6461, allocations: 23.98 kB / 0.5715 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.6461, allocations: 3.953 kB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.6462, allocations: 4 kB / 0.5715 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.6462, allocations: 4.734 kB / 0.5715 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6462, allocations: 7.938 kB / 0.5715 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.6473, allocations: 235.3 kB / 0.5717 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6474, allocations: 93 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.6475, allocations: 7.953 kB / 0.5718 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.6478, allocations: 15.98 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.6479, allocations: 7.984 kB / 0.5718 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.6479, allocations: 4 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.6483, allocations: 140.7 kB / 0.572 GB, free: 6.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6483, allocations: 0 / 0.572 GB, free: 6.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005752/0.6489, allocations: 31.94 kB / 0.572 GB, free: 6.938 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 (7): * Single equations (assignments): 7 * 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.003173/0.6521, allocations: 1.069 MB / 0.5731 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005803/0.6527, allocations: 103.9 kB / 0.5732 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6527, allocations: 4 kB / 0.5732 GB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.653, allocations: 55.89 kB / 0.5732 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.6533, allocations: 19.89 kB / 0.5732 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.6555, allocations: 0.8218 MB / 0.574 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.6558, allocations: 0.7121 MB / 0.5747 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.6559, allocations: 31.42 kB / 0.5748 GB, free: 4.125 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.656, allocations: 0 / 0.5748 GB, free: 4.125 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.254, allocations: 2.309 MB / 0.577 GB, free: 1.816 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat