Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.002593/0.002598, allocations: 180.5 kB / 8.365 MB, free: 0.707 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.263/2.263, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001096/0.001096, allocations: 91.48 kB / 262.1 MB, free: 13.88 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.3795/0.3795, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.319e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4464, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.6163, allocations: 85.92 MB / 0.5499 GB, free: 13.29 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.6166, allocations: 75.95 kB / 0.55 GB, free: 13.21 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.6463, allocations: 7.74 MB / 0.5575 GB, free: 5.457 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.921e-06/0.6464, allocations: 0 / 0.5575 GB, free: 5.457 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.6464, allocations: 10.89 kB / 0.5576 GB, free: 5.449 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.0008424/0.6472, allocations: 0.5527 MB / 0.5581 GB, free: 4.852 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.6473, allocations: 8.031 kB / 0.5581 GB, free: 4.844 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.6474, allocations: 43.39 kB / 0.5581 GB, free: 4.801 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.6482, allocations: 323.4 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6482, allocations: 4 kB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.6482, allocations: 4 kB / 0.5585 GB, free: 4.438 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.553e-05/0.6483, allocations: 19.92 kB / 0.5585 GB, free: 4.418 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.6485, allocations: 34.14 kB / 0.5585 GB, free: 4.379 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6485, allocations: 0 / 0.5585 GB, free: 4.379 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6485, allocations: 4 kB / 0.5585 GB, free: 4.375 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6485, allocations: 7.953 kB / 0.5585 GB, free: 4.367 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.6493, allocations: 397.3 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.6494, allocations: 30.58 kB / 0.5589 GB, free: 3.902 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.6495, allocations: 16.94 kB / 0.5589 GB, free: 3.883 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.6495, allocations: 3.938 kB / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.6496, allocations: 34.56 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.6496, allocations: 0 / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002568/0.6499, allocations: 81.19 kB / 0.5591 GB, free: 3.75 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.6499, allocations: 51.41 kB / 0.5591 GB, free: 3.688 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.6518, allocations: 0.7512 MB / 0.5598 GB, free: 2.926 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.6519, allocations: 29.7 kB / 0.5599 GB, free: 2.891 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.6521, allocations: 231 kB / 0.5601 GB, free: 2.664 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.6522, allocations: 15.84 kB / 0.5601 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.6522, allocations: 4 kB / 0.5601 GB, free: 2.645 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6524, allocations: 314.8 kB / 0.5604 GB, free: 2.328 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.6524, allocations: 11.94 kB / 0.5604 GB, free: 2.316 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.6524, allocations: 11.92 kB / 0.5604 GB, free: 2.305 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.6525, allocations: 8 kB / 0.5604 GB, free: 2.297 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6525, allocations: 0 / 0.5604 GB, free: 2.297 MB / 395.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001327/0.6526, allocations: 45.62 kB / 0.5605 GB, free: 2.246 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6527, allocations: 8 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6527, allocations: 0 / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6527, allocations: 4 kB / 0.5605 GB, free: 2.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6529, allocations: 8 kB / 0.5605 GB, free: 2.227 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6529, allocations: 3.953 kB / 0.5605 GB, free: 2.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.653, allocations: 11.98 kB / 0.5605 GB, free: 2.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6531, allocations: 0 / 0.5605 GB, free: 2.211 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 (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 8.573e-05/0.6532, allocations: 101 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002041/0.6534, allocations: 85.12 kB / 0.5607 GB, free: 2.016 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6535, allocations: 47.7 kB / 0.5607 GB, free: 1.969 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.6538, allocations: 105.2 kB / 0.5608 GB, free: 1.852 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6538, allocations: 7.938 kB / 0.5608 GB, free: 1.844 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6538, allocations: 0 / 0.5608 GB, free: 1.844 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6538, allocations: 0 / 0.5608 GB, free: 1.844 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.6543, allocations: 302 kB / 0.5611 GB, free: 1.512 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6543, allocations: 0 / 0.5611 GB, free: 1.512 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.6544, allocations: 8 kB / 0.5611 GB, free: 1.504 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6544, allocations: 0 / 0.5611 GB, free: 1.504 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6544, allocations: 0 / 0.5611 GB, free: 1.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6545, allocations: 4 kB / 0.5611 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6545, allocations: 0 / 0.5611 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.6547, allocations: 183 kB / 0.5613 GB, free: 1.305 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.6551, allocations: 164.5 kB / 0.5615 GB, free: 1.125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.6552, allocations: 4 kB / 0.5615 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.6554, allocations: 11.98 kB / 0.5615 GB, free: 1.109 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.6554, allocations: 0 / 0.5615 GB, free: 1.109 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.6554, allocations: 4 kB / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.6566, allocations: 0.6121 MB / 0.5621 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6566, allocations: 0 / 0.5621 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.657, allocations: 52 kB / 0.5621 GB, free: 456 kB / 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 (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.001479/0.6585, allocations: 0.9109 MB / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.6587, allocations: 12 kB / 0.563 GB, free: 15.53 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.6587, allocations: 7.938 kB / 0.5631 GB, free: 15.52 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.6588, allocations: 15.98 kB / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.6592, allocations: 21.95 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.6613, allocations: 0.8425 MB / 0.5639 GB, free: 14.6 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.662, allocations: 0.8303 MB / 0.5647 GB, free: 13.74 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6623, allocations: 119.4 kB / 0.5648 GB, free: 13.62 MB / 411.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6623, allocations: 0 / 0.5648 GB, free: 13.62 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.361, allocations: 7.001 MB / 0.5717 GB, free: 6.613 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat