Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2",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.002116/0.002116, allocations: 177.8 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.265/2.265, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001603/0.001603, allocations: 88.06 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.2997/0.2997, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.741e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3975, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5581, allocations: 86.15 MB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5584, allocations: 79.45 kB / 0.5502 GB, free: 12.98 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.5891, allocations: 7.914 MB / 0.5579 GB, free: 5.047 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5892, allocations: 0 / 0.5579 GB, free: 5.047 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.363e-05/0.5892, allocations: 4 kB / 0.5579 GB, free: 5.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007994/0.59, allocations: 0.5602 MB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5901, allocations: 8.031 kB / 0.5585 GB, free: 4.434 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.5902, allocations: 47.39 kB / 0.5585 GB, free: 4.387 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.5909, allocations: 319.4 kB / 0.5588 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.5909, allocations: 0 / 0.5588 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.591, allocations: 4 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.984e-05/0.5911, allocations: 15.94 kB / 0.5589 GB, free: 4.016 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.5912, allocations: 41.69 kB / 0.5589 GB, free: 3.969 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.5912, allocations: 0 / 0.5589 GB, free: 3.969 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5912, allocations: 4 kB / 0.5589 GB, free: 3.965 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5913, allocations: 11.89 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008404/0.5921, allocations: 413.3 kB / 0.5593 GB, free: 3.512 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.5924, allocations: 38.52 kB / 0.5593 GB, free: 3.465 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.5924, allocations: 8.859 kB / 0.5594 GB, free: 3.453 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5924, allocations: 0 / 0.5594 GB, free: 3.453 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5925, allocations: 34.56 kB / 0.5594 GB, free: 3.41 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5925, allocations: 0 / 0.5594 GB, free: 3.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006288/0.5931, allocations: 196 kB / 0.5596 GB, free: 3.211 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5932, allocations: 51.41 kB / 0.5596 GB, free: 3.148 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.595, allocations: 0.7473 MB / 0.5603 GB, free: 2.391 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5951, allocations: 29.7 kB / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.5953, allocations: 230.5 kB / 0.5606 GB, free: 2.129 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.5953, allocations: 19.73 kB / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.5954, allocations: 0 / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5955, allocations: 318.8 kB / 0.5609 GB, free: 1.789 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.5956, allocations: 12 kB / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.5956, allocations: 7.938 kB / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.5957, allocations: 8 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5957, allocations: 0 / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.5958, allocations: 57.69 kB / 0.561 GB, free: 1.699 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5959, allocations: 4 kB / 0.561 GB, free: 1.695 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.5959, allocations: 3.938 kB / 0.561 GB, free: 1.691 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5959, allocations: 3.953 kB / 0.561 GB, free: 1.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.5961, allocations: 19.98 kB / 0.561 GB, free: 1.668 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5961, allocations: 0 / 0.561 GB, free: 1.668 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5963, allocations: 8 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5963, allocations: 0 / 0.561 GB, free: 1.66 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 (5): * Single equations (assignments): 5 * 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.567e-05/0.5964, allocations: 105 kB / 0.5611 GB, free: 1.551 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002233/0.5966, allocations: 93.14 kB / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5967, allocations: 43.48 kB / 0.5613 GB, free: 1.41 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.5971, allocations: 121.2 kB / 0.5614 GB, free: 1.281 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5971, allocations: 0 / 0.5614 GB, free: 1.281 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5971, allocations: 4 kB / 0.5614 GB, free: 1.277 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5971, allocations: 0 / 0.5614 GB, free: 1.277 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.5982, allocations: 0.5384 MB / 0.5619 GB, free: 0.6953 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.5983, allocations: 3.953 kB / 0.5619 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5984, allocations: 11.94 kB / 0.5619 GB, free: 0.6797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5984, allocations: 4 kB / 0.5619 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5984, allocations: 7.984 kB / 0.5619 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5984, allocations: 0 / 0.5619 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5985, allocations: 0 / 0.5619 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.5987, allocations: 187.2 kB / 0.5621 GB, free: 480 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.5991, allocations: 172.4 kB / 0.5623 GB, free: 288 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.5991, allocations: 0 / 0.5623 GB, free: 288 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.5993, allocations: 8 kB / 0.5623 GB, free: 280 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.5994, allocations: 7.984 kB / 0.5623 GB, free: 272 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5994, allocations: 4 kB / 0.5623 GB, free: 268 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.6006, allocations: 0.6082 MB / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6006, allocations: 0 / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000472/0.6011, allocations: 51.94 kB / 0.5629 GB, free: 15.61 MB / 411.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 (5): * Single equations (assignments): 5 * 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.001549/0.6026, allocations: 0.9646 MB / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.6028, allocations: 28 kB / 0.5639 GB, free: 14.63 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6028, allocations: 3.938 kB / 0.5639 GB, free: 14.63 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.6029, allocations: 15.94 kB / 0.5639 GB, free: 14.61 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.6033, allocations: 33.67 kB / 0.564 GB, free: 14.58 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.6055, allocations: 0.8465 MB / 0.5648 GB, free: 13.69 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.6061, allocations: 0.834 MB / 0.5656 GB, free: 12.83 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.6064, allocations: 111.4 kB / 0.5657 GB, free: 12.72 MB / 411.1 MB Notification: Performance of SimCode: time 1.153e-06/0.6064, allocations: 0 / 0.5657 GB, free: 12.72 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.708/3.315, allocations: 7.2 MB / 0.5727 GB, free: 5.516 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat