Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008853/0.0008853, allocations: 94.83 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.075e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 61.93 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.5011, allocations: 89.45 MB / 0.5821 GB, free: 6.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.5014, allocations: 79.94 kB / 0.5822 GB, free: 6.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.5132, allocations: 4.334 MB / 0.5864 GB, free: 2.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5132, allocations: 0 / 0.5864 GB, free: 2.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.5133, allocations: 4 kB / 0.5864 GB, free: 2.504 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005609/0.5138, allocations: 463.8 kB / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5139, allocations: 15.98 kB / 0.5869 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.5139, allocations: 7.906 kB / 0.5869 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.5142, allocations: 224.5 kB / 0.5871 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5143, allocations: 7.953 kB / 0.5871 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5143, allocations: 4 kB / 0.5871 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.516e-05/0.5144, allocations: 39.92 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.5146, allocations: 88.25 kB / 0.5873 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.5146, allocations: 0 / 0.5873 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.5146, allocations: 3.984 kB / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5146, allocations: 4 kB / 0.5873 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.5152, allocations: 0.4897 MB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.5154, allocations: 66.69 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.5155, allocations: 36.83 kB / 0.5878 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.5155, allocations: 4.219 kB / 0.5879 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.5156, allocations: 80.08 kB / 0.5879 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.5156, allocations: 3.938 kB / 0.5879 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002249/0.5159, allocations: 105.4 kB / 0.588 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.5159, allocations: 55.41 kB / 0.5881 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.5161, allocations: 162.6 kB / 0.5882 GB, free: 472 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.5161, allocations: 25.7 kB / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.5162, allocations: 120.2 kB / 0.5884 GB, free: 316 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.5163, allocations: 35.55 kB / 0.5884 GB, free: 280 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.5163, allocations: 0 / 0.5884 GB, free: 280 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5164, allocations: 326.8 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.5165, allocations: 23.98 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.5165, allocations: 54.17 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.5166, allocations: 31.92 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5166, allocations: 4 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001713/0.5168, allocations: 109.4 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5168, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5168, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5168, allocations: 0 / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.517, allocations: 27.92 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.517, allocations: 4.125 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.5171, allocations: 15.92 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5171, allocations: 4 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.138e-05/0.5172, allocations: 112.9 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000148/0.5173, allocations: 105.5 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.5173, allocations: 16.09 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.5175, allocations: 115.4 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5175, allocations: 4 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5176, allocations: 4 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5176, allocations: 0 / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.5177, allocations: 186.1 kB / 0.5895 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5177, allocations: 0 / 0.5895 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.5178, allocations: 23.92 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5178, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5179, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5179, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5179, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.5181, allocations: 180.7 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.5182, allocations: 92.89 kB / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.5182, allocations: 0 / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.5183, allocations: 11.98 kB / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.5184, allocations: 3.984 kB / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.5184, allocations: 8 kB / 0.5898 GB, free: 14.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5185, allocations: 128.1 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5185, allocations: 0 / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.5188, allocations: 40.17 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001203/0.52, allocations: 0.945 MB / 0.5909 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5202, allocations: 67.88 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5202, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.5203, allocations: 31.98 kB / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.5206, allocations: 28.17 kB / 0.591 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.5211, allocations: 237.1 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5215, allocations: 0.7203 MB / 0.592 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.5215, allocations: 21.14 kB / 0.592 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.5216, allocations: 43.42 kB / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.5216, allocations: 0 / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.5431, allocations: 2.948 MB / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.5434, allocations: 162.5 kB / 0.5951 GB, free: 9.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.178, allocations: 8 kB / 0.5951 GB, free: 9.312 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat