Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001374/0.001374, 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.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.001003/0.001003, allocations: 93.84 kB / 281.6 MB, free: 5.32 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.1942/0.1942, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.354e-05, allocations: 8.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5814, allocations: 88.78 MB / 0.5815 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5817, allocations: 75.95 kB / 0.5815 GB, free: 7.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02287/0.6046, allocations: 5.838 MB / 0.5872 GB, free: 1.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6046, allocations: 6.953 kB / 0.5873 GB, free: 1.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.6047, allocations: 7.938 kB / 0.5873 GB, free: 1.738 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.0005836/0.6052, allocations: 378.3 kB / 0.5876 GB, free: 1.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6053, allocations: 15.98 kB / 0.5876 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.6054, allocations: 11.91 kB / 0.5876 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.6058, allocations: 220.1 kB / 0.5879 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.6058, allocations: 0 / 0.5879 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.6058, allocations: 4 kB / 0.5879 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.042e-05/0.6059, allocations: 19.98 kB / 0.5879 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.6061, allocations: 63.41 kB / 0.5879 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6061, allocations: 3.938 kB / 0.5879 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.6061, allocations: 0 / 0.5879 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.6061, allocations: 0 / 0.5879 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.6066, allocations: 269.4 kB / 0.5882 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6067, allocations: 46.7 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.6068, allocations: 20.97 kB / 0.5883 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.6068, allocations: 0 / 0.5883 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.607, allocations: 71.41 kB / 0.5883 GB, free: 492 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.607, allocations: 0 / 0.5883 GB, free: 492 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.6075, allocations: 145.2 kB / 0.5885 GB, free: 340 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.6076, allocations: 77.11 kB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6077, allocations: 143 kB / 0.5887 GB, free: 96 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.6078, allocations: 25.7 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.6079, allocations: 96.12 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6079, allocations: 23.66 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.6079, allocations: 0 / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6081, allocations: 326.8 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.6082, allocations: 20 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.6083, allocations: 42.5 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.6083, allocations: 32.03 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6084, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.6086, allocations: 81.59 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6086, allocations: 9.406 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6086, allocations: 4.062 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6086, allocations: 3.938 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6088, allocations: 15.98 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.6088, allocations: 4 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.6089, allocations: 0 / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.6089, allocations: 4.188 kB / 0.5893 GB, free: 15.39 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 0.0001051/0.609, allocations: 108.9 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002041/0.6092, allocations: 101.5 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.6093, allocations: 7.906 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.6096, allocations: 110.2 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6096, allocations: 3.938 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6096, allocations: 0 / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.6096, allocations: 3.953 kB / 0.5897 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.6102, allocations: 363.9 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6102, allocations: 0 / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.6103, allocations: 19.92 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6103, allocations: 4.031 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.6103, allocations: 4 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6103, allocations: 3.953 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6103, allocations: 4 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.6106, allocations: 206.1 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.6107, allocations: 89 kB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.6108, allocations: 11.95 kB / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.6109, allocations: 4 kB / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.6109, allocations: 3.984 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.611, allocations: 4 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.6111, allocations: 121.5 kB / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6111, allocations: 0 / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.6115, allocations: 35.92 kB / 0.5905 GB, free: 14.1 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.002033/0.6136, allocations: 1.15 MB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.6138, allocations: 59.92 kB / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6138, allocations: 4 kB / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.6139, allocations: 27.94 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.6143, allocations: 19.98 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.615, allocations: 195.3 kB / 0.5919 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.6154, allocations: 0.7119 MB / 0.5926 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.6155, allocations: 12.88 kB / 0.5926 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.6156, allocations: 35.41 kB / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6156, allocations: 0 / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.6397, allocations: 2.747 MB / 0.5953 GB, free: 9.141 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.6399, allocations: 166.6 kB / 0.5955 GB, free: 8.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.275, allocations: 0 / 0.5955 GB, free: 8.949 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat