Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8",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.002266/0.002266, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 91.97 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3254/0.3254, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.887e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4578, allocations: 58.85 MB / 477.2 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.6363, allocations: 85.99 MB / 0.55 GB, free: 13.29 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.6367, allocations: 75.95 kB / 0.55 GB, free: 13.22 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03723/0.6739, allocations: 7.697 MB / 0.5576 GB, free: 5.504 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.674, allocations: 4 kB / 0.5576 GB, free: 5.5 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.239e-05/0.6741, allocations: 4 kB / 0.5576 GB, free: 5.496 MB / 395.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.001045/0.6751, allocations: 0.54 MB / 0.5581 GB, free: 4.914 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.6752, allocations: 12.02 kB / 0.5581 GB, free: 4.902 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.6755, allocations: 47.39 kB / 0.5581 GB, free: 4.855 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6765, allocations: 323.3 kB / 0.5585 GB, free: 4.5 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6765, allocations: 0 / 0.5585 GB, free: 4.5 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.6766, allocations: 4 kB / 0.5585 GB, free: 4.496 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001013/0.6767, allocations: 8 kB / 0.5585 GB, free: 4.488 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.6769, allocations: 42.14 kB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6769, allocations: 0 / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6769, allocations: 0 / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6769, allocations: 3.953 kB / 0.5585 GB, free: 4.438 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.6782, allocations: 401.3 kB / 0.5589 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6784, allocations: 30.5 kB / 0.5589 GB, free: 3.969 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.6784, allocations: 12.86 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.6785, allocations: 8.047 kB / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.6786, allocations: 30.56 kB / 0.559 GB, free: 3.906 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 4.869e-06/0.6786, allocations: 0 / 0.559 GB, free: 3.906 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.679, allocations: 77.19 kB / 0.559 GB, free: 3.824 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.6791, allocations: 51.41 kB / 0.5591 GB, free: 3.762 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.682, allocations: 0.7512 MB / 0.5598 GB, free: 3 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.6821, allocations: 29.73 kB / 0.5599 GB, free: 2.965 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.6824, allocations: 234.5 kB / 0.5601 GB, free: 2.734 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.6825, allocations: 3.906 kB / 0.5601 GB, free: 2.73 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.6825, allocations: 0.5469 kB / 0.5601 GB, free: 2.73 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6827, allocations: 318.8 kB / 0.5604 GB, free: 2.41 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.6828, allocations: 8 kB / 0.5604 GB, free: 2.402 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.6828, allocations: 4 kB / 0.5604 GB, free: 2.398 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.6829, allocations: 0 / 0.5604 GB, free: 2.398 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6829, allocations: 15.94 kB / 0.5604 GB, free: 2.383 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.6831, allocations: 41.69 kB / 0.5605 GB, free: 2.336 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.6832, allocations: 4 kB / 0.5605 GB, free: 2.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6832, allocations: 0 / 0.5605 GB, free: 2.332 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.6833, allocations: 0 / 0.5605 GB, free: 2.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.6835, allocations: 8 kB / 0.5605 GB, free: 2.324 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6835, allocations: 3.953 kB / 0.5605 GB, free: 2.32 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.6838, allocations: 4 kB / 0.5605 GB, free: 2.316 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6838, allocations: 3.984 kB / 0.5605 GB, free: 2.312 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001198/0.6839, allocations: 105 kB / 0.5606 GB, free: 2.203 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003067/0.6843, allocations: 81.17 kB / 0.5607 GB, free: 2.117 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.6844, allocations: 39.44 kB / 0.5607 GB, free: 2.078 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.6849, allocations: 96.91 kB / 0.5608 GB, free: 1.973 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.6849, allocations: 4 kB / 0.5608 GB, free: 1.969 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6849, allocations: 0 / 0.5608 GB, free: 1.969 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6849, allocations: 0 / 0.5608 GB, free: 1.969 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.6857, allocations: 298 kB / 0.5611 GB, free: 1.641 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6857, allocations: 4.062 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6858, allocations: 7.984 kB / 0.5611 GB, free: 1.629 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.6859, allocations: 4 kB / 0.5611 GB, free: 1.625 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.6859, allocations: 0 / 0.5611 GB, free: 1.625 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.6859, allocations: 0 / 0.5611 GB, free: 1.625 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.686, allocations: 7.891 kB / 0.5611 GB, free: 1.617 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.6864, allocations: 171.1 kB / 0.5613 GB, free: 1.434 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.6869, allocations: 164.5 kB / 0.5614 GB, free: 1.254 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.687, allocations: 0 / 0.5614 GB, free: 1.254 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.6872, allocations: 4 kB / 0.5614 GB, free: 1.25 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.6873, allocations: 4 kB / 0.5614 GB, free: 1.246 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.6874, allocations: 3.953 kB / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.6892, allocations: 0.6043 MB / 0.562 GB, free: 0.6406 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.6893, allocations: 0 / 0.562 GB, free: 0.6406 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000794/0.6901, allocations: 52 kB / 0.5621 GB, free: 0.5898 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.002135/0.6923, allocations: 0.9099 MB / 0.563 GB, free: 15.69 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.6925, allocations: 12 kB / 0.563 GB, free: 15.68 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6925, allocations: 0 / 0.563 GB, free: 15.68 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.6926, allocations: 8 kB / 0.563 GB, free: 15.67 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.6932, allocations: 29.88 kB / 0.563 GB, free: 15.64 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.6965, allocations: 0.8388 MB / 0.5638 GB, free: 14.76 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000875/0.6975, allocations: 0.8339 MB / 0.5646 GB, free: 13.9 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.698, allocations: 115.4 kB / 0.5647 GB, free: 13.79 MB / 411.1 MB Notification: Performance of SimCode: time 1.413e-06/0.698, allocations: 0 / 0.5647 GB, free: 13.79 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/3.606, allocations: 6.907 MB / 0.5715 GB, free: 6.871 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat does not exist to compare? outputFormat=mat