Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001289/0.001289, 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.413/1.413, 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.001008/0.001008, allocations: 86.84 kB / 281.6 MB, free: 5.336 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.2092/0.2092, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.984e-05, allocations: 8.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5628, allocations: 88.52 MB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.5631, allocations: 79.94 kB / 0.5813 GB, free: 7.789 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.578, allocations: 5.424 MB / 0.5866 GB, free: 2.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.578, allocations: 0 / 0.5866 GB, free: 2.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.5781, allocations: 4 kB / 0.5866 GB, free: 2.375 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.0004536/0.5785, allocations: 398.3 kB / 0.587 GB, free: 1.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5786, allocations: 15.92 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.5786, allocations: 11.91 kB / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5789, allocations: 214.7 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.579, allocations: 7.953 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.579, allocations: 0 / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.157e-05/0.5791, allocations: 16 kB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.742e-05/0.5792, allocations: 53.67 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5792, allocations: 0 / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5792, allocations: 0 / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5792, allocations: 3.938 kB / 0.5873 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.5796, allocations: 273.4 kB / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.5797, allocations: 46.69 kB / 0.5876 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.5797, allocations: 20.97 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5798, allocations: 4 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.5799, allocations: 63.41 kB / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.326e-06/0.5799, allocations: 0 / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004292/0.5803, allocations: 161.1 kB / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.5804, allocations: 55.41 kB / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5805, allocations: 161.4 kB / 0.588 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5806, allocations: 25.7 kB / 0.5881 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5806, allocations: 104.1 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.5807, allocations: 15.72 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.5807, allocations: 4 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5808, allocations: 322.8 kB / 0.5885 GB, free: 248 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.5809, allocations: 23.94 kB / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.5809, allocations: 33.7 kB / 0.5885 GB, free: 184 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.581, allocations: 27.94 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.581, allocations: 0 / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/0.5811, allocations: 85.5 kB / 0.5886 GB, free: 64 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5811, allocations: 8 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5811, allocations: 4.219 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5812, allocations: 0 / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.5813, allocations: 23.86 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5813, allocations: 4 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.5813, allocations: 3.938 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.5813, allocations: 4 kB / 0.5887 GB, free: 16 kB / 394.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 9.591e-05/0.5814, allocations: 112.9 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001378/0.5816, allocations: 97.5 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.5816, allocations: 11.81 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.5818, allocations: 110.3 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5818, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5818, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5819, allocations: 11.92 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.5822, allocations: 367.9 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5823, allocations: 3.984 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5823, allocations: 19.88 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5823, allocations: 4.031 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5823, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5823, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5824, allocations: 4 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.5826, allocations: 213.8 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.5826, allocations: 93 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.5827, allocations: 8 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.5827, allocations: 0 / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.5828, allocations: 11.94 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5828, allocations: 8 kB / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.5829, allocations: 133 kB / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5829, allocations: 0 / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.5832, allocations: 28 kB / 0.5899 GB, free: 14.7 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.001287/0.5845, allocations: 1.118 MB / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.5846, allocations: 47.94 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5847, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.5847, allocations: 31.94 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.0002772/0.585, allocations: 27.92 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.5855, allocations: 214.9 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5859, allocations: 0.7157 MB / 0.592 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.5859, allocations: 12.42 kB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.586, allocations: 35.42 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.586, allocations: 0 / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.6076, allocations: 2.651 MB / 0.5946 GB, free: 9.844 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.6079, allocations: 167.2 kB / 0.5948 GB, free: 9.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.18, allocations: 3.938 kB / 0.5948 GB, free: 9.648 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat