Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001589/0.001589, allocations: 169.7 kB / 8.739 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.427/1.427, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.0009452/0.0009453, allocations: 95 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.1979/0.1979, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.186e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5284, allocations: 88.52 MB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5288, allocations: 74.42 kB / 0.5813 GB, free: 7.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.5438, allocations: 5.438 MB / 0.5866 GB, free: 2.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5438, allocations: 0 / 0.5866 GB, free: 2.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5438, allocations: 0 / 0.5866 GB, free: 2.379 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.0004596/0.5443, allocations: 398.2 kB / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5444, allocations: 19.98 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.5444, allocations: 11.91 kB / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.5447, allocations: 218.6 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5447, allocations: 11.94 kB / 0.5872 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.5448, allocations: 7.938 kB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.159e-05/0.5449, allocations: 12 kB / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.545, allocations: 49.67 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.545, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.545, allocations: 3.938 kB / 0.5873 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.545, allocations: 4 kB / 0.5873 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.5454, allocations: 269.5 kB / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.5455, allocations: 54.62 kB / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.5455, allocations: 16.98 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5456, allocations: 0 / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.5457, allocations: 67.39 kB / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5457, allocations: 0 / 0.5877 GB, free: 1.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.5461, allocations: 153.2 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5462, allocations: 55.39 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5463, allocations: 161.4 kB / 0.588 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5464, allocations: 25.7 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.5464, allocations: 100.1 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.5465, allocations: 19.72 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5465, allocations: 4 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5466, allocations: 326.8 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.5467, allocations: 12 kB / 0.5885 GB, free: 228 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.5467, allocations: 33.7 kB / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.5468, allocations: 23.95 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5468, allocations: 3.938 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001381/0.5469, allocations: 97.47 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5469, allocations: 8.031 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.547, allocations: 0 / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.547, allocations: 4 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.5471, allocations: 16 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5471, allocations: 3.938 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.5471, allocations: 11.92 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.5471, allocations: 0 / 0.5887 GB, free: 12 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 0.0001118/0.5473, allocations: 108.9 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001353/0.5474, allocations: 89.58 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.5474, allocations: 19.81 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.5476, allocations: 110.4 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5476, allocations: 3.984 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5477, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5477, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.5481, allocations: 375.8 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5481, allocations: 3.938 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.5481, allocations: 16.02 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5481, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5481, allocations: 4 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5482, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5482, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.5484, allocations: 218.1 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.5484, allocations: 93 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.5485, allocations: 4 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.5485, allocations: 8 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.5486, allocations: 11.94 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.5486, allocations: 3.938 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.5487, allocations: 141 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5487, allocations: 0 / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.549, allocations: 24 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.001236/0.5502, allocations: 1.109 MB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.5504, allocations: 59.91 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5504, allocations: 4 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.5504, allocations: 24 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.000241/0.5507, allocations: 24.06 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.0004845/0.5512, allocations: 226.7 kB / 0.5913 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.5515, allocations: 0.7002 MB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.5515, allocations: 20.41 kB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.5516, allocations: 35.42 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5516, allocations: 4 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.5742, allocations: 2.647 MB / 0.5946 GB, free: 9.844 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.5745, allocations: 171.3 kB / 0.5948 GB, free: 9.648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.145, allocations: 0 / 0.5948 GB, free: 9.648 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat