Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002236/0.002241, 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.031/2.031, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.002552/0.002552, allocations: 89.3 kB / 270.9 MB, free: 8.395 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.6311/0.6311, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004639, allocations: 8 kB / 431.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 58.84 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5953, allocations: 87.06 MB / 0.5638 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5957, allocations: 70.19 kB / 0.5639 GB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03145/0.6271, allocations: 7.945 MB / 0.5717 GB, free: 7.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6272, allocations: 0 / 0.5717 GB, free: 7.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.6272, allocations: 4 kB / 0.5717 GB, free: 7.477 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.001112/0.6284, allocations: 0.6326 MB / 0.5723 GB, free: 6.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6284, allocations: 8.031 kB / 0.5723 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.6285, allocations: 34.56 kB / 0.5723 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.6286, allocations: 44.56 kB / 0.5724 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.6293, allocations: 323.4 kB / 0.5727 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.6294, allocations: 0.5469 kB / 0.5727 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.6294, allocations: 4 kB / 0.5727 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.6297, allocations: 62.64 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6297, allocations: 4 kB / 0.5727 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6297, allocations: 0 / 0.5727 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6297, allocations: 4.5 kB / 0.5728 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.63, allocations: 39.97 kB / 0.5728 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.631, allocations: 452.7 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.6313, allocations: 50.5 kB / 0.5733 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.6314, allocations: 0 / 0.5733 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6314, allocations: 37.41 kB / 0.5733 GB, free: 5.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.6314, allocations: 4 kB / 0.5733 GB, free: 5.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006483/0.6321, allocations: 141.2 kB / 0.5734 GB, free: 5.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.6321, allocations: 51.41 kB / 0.5735 GB, free: 5.426 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.6342, allocations: 0.7863 MB / 0.5743 GB, free: 4.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.6343, allocations: 29.64 kB / 0.5743 GB, free: 4.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.6345, allocations: 238.5 kB / 0.5745 GB, free: 4.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6346, allocations: 3.906 kB / 0.5745 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6346, allocations: 4 kB / 0.5745 GB, free: 4.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6347, allocations: 318.8 kB / 0.5748 GB, free: 4.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.6349, allocations: 19.98 kB / 0.5748 GB, free: 4.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.6351, allocations: 27.98 kB / 0.5749 GB, free: 3.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.6352, allocations: 19.98 kB / 0.5749 GB, free: 3.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6352, allocations: 4 kB / 0.5749 GB, free: 3.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003405/0.6356, allocations: 77.66 kB / 0.575 GB, free: 3.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6356, allocations: 4 kB / 0.575 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6356, allocations: 0 / 0.575 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6357, allocations: 3.953 kB / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.6358, allocations: 8 kB / 0.575 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6358, allocations: 7.984 kB / 0.575 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.6361, allocations: 11.98 kB / 0.575 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.6361, allocations: 3.938 kB / 0.575 GB, free: 3.844 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 (3): * Single equations (assignments): 3 * 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.0003647/0.6365, allocations: 213.8 kB / 0.5752 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6366, allocations: 47.42 kB / 0.5753 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.6371, allocations: 129.3 kB / 0.5754 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6371, allocations: 4.031 kB / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6371, allocations: 3.953 kB / 0.5754 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6372, allocations: 4 kB / 0.5754 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.6377, allocations: 338 kB / 0.5757 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6377, allocations: 0 / 0.5757 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.6379, allocations: 8 kB / 0.5757 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.6379, allocations: 5.016 kB / 0.5757 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.6379, allocations: 4 kB / 0.5757 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6379, allocations: 0 / 0.5757 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6379, allocations: 3.938 kB / 0.5757 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.6385, allocations: 214.9 kB / 0.5759 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.6388, allocations: 160.5 kB / 0.5761 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.6388, allocations: 11.98 kB / 0.5761 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.639, allocations: 4 kB / 0.5761 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.6391, allocations: 4 kB / 0.5761 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.6391, allocations: 4 kB / 0.5761 GB, free: 2.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.6405, allocations: 0.6432 MB / 0.5767 GB, free: 1.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6405, allocations: 3.938 kB / 0.5767 GB, free: 1.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.641, allocations: 55.91 kB / 0.5768 GB, free: 1.906 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 (3): * Single equations (assignments): 3 * 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.001788/0.6428, allocations: 1.001 MB / 0.5778 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.6432, allocations: 47.97 kB / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6432, allocations: 4 kB / 0.5778 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.6434, allocations: 23.98 kB / 0.5779 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.6438, allocations: 21.95 kB / 0.5779 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.6492, allocations: 2.334 MB / 0.5802 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.6499, allocations: 0.834 MB / 0.581 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.6502, allocations: 115.6 kB / 0.5811 GB, free: 13.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.6503, allocations: 0 / 0.5811 GB, free: 13.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/3.598, allocations: 7.07 MB / 0.588 GB, free: 6.426 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat