Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22",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.002425/0.002425, 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.099/2.099, 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.001186/0.001186, allocations: 94.56 kB / 270.9 MB, free: 8.402 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.5329/0.5329, allocations: 43.54 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 12 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/0.6523, allocations: 88.04 MB / 0.5648 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.6527, allocations: 75.95 kB / 0.5649 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04323/0.6959, allocations: 8.415 MB / 0.5731 GB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.696, allocations: 0 / 0.5731 GB, free: 6.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.743e-05/0.6961, allocations: 8 kB / 0.5731 GB, free: 6.199 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001459/0.6975, allocations: 0.7351 MB / 0.5738 GB, free: 5.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6976, allocations: 8.031 kB / 0.5738 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.6977, allocations: 46.55 kB / 0.5739 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.6978, allocations: 51.34 kB / 0.5739 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.699, allocations: 483.7 kB / 0.5744 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.699, allocations: 7.984 kB / 0.5744 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.6991, allocations: 8 kB / 0.5744 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.6995, allocations: 133.3 kB / 0.5745 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.6996, allocations: 4 kB / 0.5745 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6996, allocations: 4 kB / 0.5745 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6996, allocations: 7.953 kB / 0.5745 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.7, allocations: 79.95 kB / 0.5746 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.7017, allocations: 0.7189 MB / 0.5753 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.7021, allocations: 105.2 kB / 0.5754 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.7022, allocations: 11.98 kB / 0.5754 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.7022, allocations: 34.72 kB / 0.5755 GB, free: 3.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 5.34e-06/0.7023, allocations: 0 / 0.5755 GB, free: 3.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002372/0.7046, allocations: 0.5334 MB / 0.576 GB, free: 3.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.7048, allocations: 89 kB / 0.5761 GB, free: 2.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.7066, allocations: 0.7911 MB / 0.5768 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.7066, allocations: 29.7 kB / 0.5769 GB, free: 2.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.7069, allocations: 262.7 kB / 0.5771 GB, free: 1.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.707, allocations: 51.2 kB / 0.5772 GB, free: 1.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.707, allocations: 0 / 0.5772 GB, free: 1.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7072, allocations: 326.8 kB / 0.5775 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.7075, allocations: 55.97 kB / 0.5775 GB, free: 1.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.7078, allocations: 81.67 kB / 0.5776 GB, free: 1.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.7082, allocations: 67.97 kB / 0.5777 GB, free: 1.266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7082, allocations: 4 kB / 0.5777 GB, free: 1.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007821/0.709, allocations: 185.5 kB / 0.5779 GB, free: 1.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.709, allocations: 4 kB / 0.5779 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.709, allocations: 0 / 0.5779 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.7091, allocations: 4 kB / 0.5779 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.7094, allocations: 51.95 kB / 0.5779 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.7095, allocations: 0 / 0.5779 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.7098, allocations: 19.86 kB / 0.5779 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.7099, allocations: 7.984 kB / 0.5779 GB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0004091/0.7103, allocations: 213.7 kB / 0.5781 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.7105, allocations: 51.34 kB / 0.5782 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.7115, allocations: 290.2 kB / 0.5785 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7115, allocations: 0 / 0.5785 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7116, allocations: 3.984 kB / 0.5785 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7116, allocations: 4 kB / 0.5785 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.7137, allocations: 0.8569 MB / 0.5793 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7137, allocations: 0 / 0.5793 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.7141, allocations: 47.91 kB / 0.5794 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.7141, allocations: 4.75 kB / 0.5794 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.7141, allocations: 3.953 kB / 0.5794 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.7142, allocations: 8.062 kB / 0.5794 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7142, allocations: 3.984 kB / 0.5794 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.7152, allocations: 419.8 kB / 0.5798 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.7155, allocations: 188.2 kB / 0.58 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7157, allocations: 11.95 kB / 0.58 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.716, allocations: 23.92 kB / 0.58 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.7161, allocations: 15.92 kB / 0.58 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.7161, allocations: 11.98 kB / 0.58 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.7175, allocations: 0.6237 MB / 0.5806 GB, free: 14.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7176, allocations: 0 / 0.5806 GB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005903/0.7182, allocations: 75.94 kB / 0.5807 GB, free: 14.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002507/0.7207, allocations: 1.329 MB / 0.582 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007569/0.7215, allocations: 151.9 kB / 0.5821 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7215, allocations: 0 / 0.5821 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.7219, allocations: 91.88 kB / 0.5822 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.7226, allocations: 66.2 kB / 0.5823 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.7302, allocations: 3.267 MB / 0.5855 GB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.7309, allocations: 0.8615 MB / 0.5863 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.7314, allocations: 167.4 kB / 0.5865 GB, free: 8.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7314, allocations: 4 kB / 0.5865 GB, free: 8.102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.853/3.584, allocations: 8.291 MB / 0.5946 GB, free: 15.81 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat