Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",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.002319/0.002324, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001172/0.001172, allocations: 91.34 kB / 270.9 MB, free: 8.363 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.5255/0.5255, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004816, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5189/0.6582, allocations: 86.49 MB / 0.5633 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6586, allocations: 71.95 kB / 0.5634 GB, free: 76 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.6765, allocations: 4.174 MB / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6766, allocations: 0 / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.6766, allocations: 3.938 kB / 0.5674 GB, free: 11.94 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.0007091/0.6773, allocations: 437.7 kB / 0.5679 GB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.6774, allocations: 8.031 kB / 0.5679 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.6775, allocations: 30.56 kB / 0.5679 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.6775, allocations: 19.25 kB / 0.5679 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.6779, allocations: 208.2 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.678, allocations: 0 / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.678, allocations: 4 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.6782, allocations: 53.61 kB / 0.5682 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.6783, allocations: 7.984 kB / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.6783, allocations: 5.031 kB / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6783, allocations: 0 / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.6785, allocations: 27.98 kB / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.6791, allocations: 308.7 kB / 0.5685 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.6794, allocations: 54.5 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.6794, allocations: 4 kB / 0.5686 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6795, allocations: 30.56 kB / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.6795, allocations: 0 / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009196/0.6804, allocations: 185.1 kB / 0.5688 GB, free: 10.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.6805, allocations: 55.41 kB / 0.5688 GB, free: 10.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.6809, allocations: 234.5 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.681, allocations: 33.64 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6811, allocations: 170.6 kB / 0.5692 GB, free: 9.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.6811, allocations: 11.75 kB / 0.5692 GB, free: 9.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.6811, allocations: 0 / 0.5692 GB, free: 9.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6813, allocations: 319.7 kB / 0.5695 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6815, allocations: 27.97 kB / 0.5696 GB, free: 9.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.6816, allocations: 23.98 kB / 0.5696 GB, free: 9.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6818, allocations: 27.98 kB / 0.5696 GB, free: 9.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6818, allocations: 0 / 0.5696 GB, free: 9.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003626/0.6822, allocations: 94.16 kB / 0.5697 GB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6822, allocations: 8 kB / 0.5697 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6822, allocations: 2.062 kB / 0.5697 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6823, allocations: 0 / 0.5697 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6824, allocations: 13.19 kB / 0.5697 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6824, allocations: 3.953 kB / 0.5697 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.6825, allocations: 7.984 kB / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6826, allocations: 4 kB / 0.5697 GB, free: 9.363 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 (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 0.0001879/0.6828, allocations: 137.8 kB / 0.5699 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.6828, allocations: 15.81 kB / 0.5699 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.6833, allocations: 114.6 kB / 0.57 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6833, allocations: 4 kB / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6833, allocations: 3.938 kB / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6834, allocations: 7.953 kB / 0.57 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.6842, allocations: 394.5 kB / 0.5704 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6842, allocations: 0 / 0.5704 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.6843, allocations: 15.98 kB / 0.5704 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.6843, allocations: 0 / 0.5704 GB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6844, allocations: 8 kB / 0.5704 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6844, allocations: 3.953 kB / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6844, allocations: 3.938 kB / 0.5704 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.6848, allocations: 195.3 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.6849, allocations: 108.9 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.685, allocations: 0 / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.6851, allocations: 9.594 kB / 0.5707 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.6852, allocations: 7.938 kB / 0.5707 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6852, allocations: 7.938 kB / 0.5707 GB, free: 8.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003273/0.6855, allocations: 200.2 kB / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6855, allocations: 0 / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.6859, allocations: 28 kB / 0.571 GB, free: 8.023 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 (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.001864/0.6878, allocations: 1.029 MB / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.6882, allocations: 63.97 kB / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6883, allocations: 0 / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.6884, allocations: 31.92 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.6888, allocations: 20.11 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.691, allocations: 0.8881 MB / 0.5729 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.6915, allocations: 0.7206 MB / 0.5736 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6917, allocations: 43.41 kB / 0.5737 GB, free: 5.234 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6917, allocations: 0 / 0.5737 GB, free: 5.234 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.407, allocations: 2.448 MB / 0.5761 GB, free: 2.785 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat does not exist to compare? outputFormat=mat