Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001562/0.001562, 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.431/1.431, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008908/0.0008907, allocations: 88.22 kB / 281.6 MB, free: 5.328 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.209/0.209, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.271e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.483, allocations: 88.56 MB / 0.5813 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4833, allocations: 75.91 kB / 0.5813 GB, free: 7.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.4982, allocations: 5.494 MB / 0.5867 GB, free: 2.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.4982, allocations: 0 / 0.5867 GB, free: 2.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.4982, allocations: 0.75 kB / 0.5867 GB, free: 2.324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003908/0.4986, allocations: 398.2 kB / 0.5871 GB, free: 1.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4986, allocations: 11.98 kB / 0.5871 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.4987, allocations: 11.91 kB / 0.5871 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.499, allocations: 206.9 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.499, allocations: 11.94 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.499, allocations: 3.906 kB / 0.5873 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.666e-05/0.4991, allocations: 16 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.4992, allocations: 57.61 kB / 0.5874 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4992, allocations: 3.938 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4992, allocations: 0 / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4992, allocations: 0 / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.4995, allocations: 269.4 kB / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.4996, allocations: 50.69 kB / 0.5877 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.4997, allocations: 16.98 kB / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.4997, allocations: 0 / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.4998, allocations: 63.39 kB / 0.5878 GB, free: 1.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.4998, allocations: 7.938 kB / 0.5878 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000371/0.5002, allocations: 149.2 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.5002, allocations: 51.41 kB / 0.588 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5004, allocations: 158.3 kB / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.5004, allocations: 25.7 kB / 0.5881 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.5005, allocations: 100.1 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.5005, allocations: 27.64 kB / 0.5883 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5005, allocations: 0 / 0.5883 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.5006, allocations: 322.8 kB / 0.5886 GB, free: 216 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.5006, allocations: 23.94 kB / 0.5886 GB, free: 192 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.5007, allocations: 29.72 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.5007, allocations: 23.94 kB / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5007, allocations: 0 / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001343/0.5009, allocations: 89.59 kB / 0.5887 GB, free: 36 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5009, allocations: 4 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5009, allocations: 0 / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5009, allocations: 4 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.501, allocations: 23.95 kB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.501, allocations: 0 / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.5011, allocations: 4.188 kB / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5011, allocations: 4.203 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.63e-05/0.5012, allocations: 106.8 kB / 0.5889 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001331/0.5013, allocations: 97.47 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.5014, allocations: 11.81 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.5016, allocations: 110.4 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5016, allocations: 8 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5016, allocations: 3.938 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5016, allocations: 0 / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.502, allocations: 375.8 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.502, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.502, allocations: 15.92 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.502, allocations: 4 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.502, allocations: 0 / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5021, allocations: 4.031 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5021, allocations: 0 / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.5023, allocations: 218 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.5023, allocations: 93 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.5024, allocations: 0 / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.5024, allocations: 4 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.5025, allocations: 23.92 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5025, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.5026, allocations: 127.3 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5026, allocations: 0 / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.5029, allocations: 31.92 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.00115/0.504, allocations: 1.103 MB / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5041, allocations: 55.92 kB / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5042, allocations: 0 / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.5042, allocations: 31.94 kB / 0.5911 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.0002554/0.5045, allocations: 23.94 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.5049, allocations: 207.9 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.5052, allocations: 0.7079 MB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.5053, allocations: 12.42 kB / 0.592 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.5054, allocations: 31.42 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5054, allocations: 0 / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.5253, allocations: 2.588 MB / 0.5946 GB, free: 9.918 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.5255, allocations: 168.4 kB / 0.5947 GB, free: 9.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.113, allocations: 4 kB / 0.5948 GB, free: 9.719 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat