Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.0009895/0.0009893, allocations: 170.4 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.39/1.39, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009284/0.0009283, allocations: 86.98 kB / 281.6 MB, free: 5.324 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.2082/0.2082, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.126e-05, allocations: 8.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.624, allocations: 88.52 MB / 0.5812 GB, free: 7.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.6243, allocations: 71.97 kB / 0.5813 GB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02218/0.6465, allocations: 5.339 MB / 0.5865 GB, free: 2.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6466, allocations: 0 / 0.5865 GB, free: 2.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.6466, allocations: 2.953 kB / 0.5865 GB, free: 2.445 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.0005553/0.6472, allocations: 398.2 kB / 0.5869 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.6473, allocations: 11.98 kB / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.6473, allocations: 7.906 kB / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.6477, allocations: 213.7 kB / 0.5871 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.6477, allocations: 3.953 kB / 0.5871 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6478, allocations: 0 / 0.5871 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.897e-05/0.6479, allocations: 23.92 kB / 0.5871 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.648, allocations: 49.69 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.648, allocations: 0 / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.6481, allocations: 7.938 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6481, allocations: 0 / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.6485, allocations: 265.4 kB / 0.5874 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.6487, allocations: 54.62 kB / 0.5875 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.6488, allocations: 20.98 kB / 0.5875 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.6488, allocations: 3.984 kB / 0.5875 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.649, allocations: 59.41 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.649, allocations: 0 / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.6496, allocations: 145.2 kB / 0.5877 GB, free: 1.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.6496, allocations: 55.41 kB / 0.5878 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.6498, allocations: 140.8 kB / 0.5879 GB, free: 0.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.6498, allocations: 29.7 kB / 0.5879 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.6499, allocations: 96.12 kB / 0.588 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.65, allocations: 23.7 kB / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.65, allocations: 0 / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6501, allocations: 318.8 kB / 0.5883 GB, free: 364 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.6502, allocations: 23.98 kB / 0.5884 GB, free: 340 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.6503, allocations: 29.72 kB / 0.5884 GB, free: 304 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.6503, allocations: 31.92 kB / 0.5884 GB, free: 272 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6504, allocations: 0 / 0.5884 GB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002166/0.6506, allocations: 93.44 kB / 0.5885 GB, free: 172 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6506, allocations: 4 kB / 0.5885 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6506, allocations: 192 / 0.5885 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6507, allocations: 4 kB / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.6508, allocations: 19.92 kB / 0.5885 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.6508, allocations: 0 / 0.5885 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.6509, allocations: 4 kB / 0.5885 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.6509, allocations: 8 kB / 0.5885 GB, free: 132 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 8.969e-05/0.651, allocations: 112.9 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002298/0.6513, allocations: 89.89 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.6513, allocations: 11.89 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.6516, allocations: 118.3 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6516, allocations: 0 / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6516, allocations: 8 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6516, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.6522, allocations: 371.7 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6522, allocations: 3.938 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.6523, allocations: 12 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6523, allocations: 4 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.6523, allocations: 3.984 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6523, allocations: 0 / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6523, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.6526, allocations: 209.9 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.6527, allocations: 93.02 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.6528, allocations: 3.984 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6529, allocations: 4 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.653, allocations: 3.953 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.653, allocations: 7.984 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.6531, allocations: 119.8 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6532, allocations: 0 / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.6536, allocations: 28 kB / 0.5897 GB, free: 14.84 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.001828/0.6555, allocations: 1.103 MB / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.6557, allocations: 51.94 kB / 0.5908 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6557, allocations: 4.062 kB / 0.5908 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.6558, allocations: 28 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6562, allocations: 27.92 kB / 0.5909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.657, allocations: 199.2 kB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.6573, allocations: 0.7079 MB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.6574, allocations: 24.89 kB / 0.5918 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.6575, allocations: 31.42 kB / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6575, allocations: 0 / 0.5918 GB, free: 12.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.6787, allocations: 2.503 MB / 0.5943 GB, free: 10.16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.6789, allocations: 163.6 kB / 0.5944 GB, free: 9.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.319, allocations: 0 / 0.5944 GB, free: 9.973 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat