Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001647/0.001647, 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.491/1.491, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009724/0.0009725, allocations: 100.7 kB / 281.6 MB, free: 5.309 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.186/0.186, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.487e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 61.93 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4925, allocations: 88.78 MB / 0.5815 GB, free: 7.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4928, allocations: 71.97 kB / 0.5815 GB, free: 7.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.5098, allocations: 5.844 MB / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5098, allocations: 0 / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.5098, allocations: 4 kB / 0.5873 GB, free: 1.652 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.0005592/0.5104, allocations: 386.2 kB / 0.5876 GB, free: 1.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5105, allocations: 15.98 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.5105, allocations: 15.89 kB / 0.5877 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.5109, allocations: 202.8 kB / 0.5879 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5109, allocations: 0 / 0.5879 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.511, allocations: 8 kB / 0.5879 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.24e-05/0.5111, allocations: 23.86 kB / 0.5879 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5112, allocations: 67.39 kB / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5112, allocations: 0 / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5112, allocations: 0 / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5113, allocations: 0 / 0.5879 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.5116, allocations: 261.5 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5118, allocations: 54.62 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.5118, allocations: 16.98 kB / 0.5883 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5118, allocations: 4 kB / 0.5883 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.512, allocations: 67.39 kB / 0.5883 GB, free: 404 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.512, allocations: 3.984 kB / 0.5883 GB, free: 400 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004362/0.5125, allocations: 141.2 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.5125, allocations: 81.11 kB / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.5127, allocations: 143.2 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.5127, allocations: 25.7 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.5128, allocations: 92.14 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5128, allocations: 27.64 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5128, allocations: 4 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.513, allocations: 326.8 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.513, allocations: 16 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.5131, allocations: 35.33 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.5132, allocations: 27.97 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5132, allocations: 0 / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.5133, allocations: 93.75 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5133, allocations: 8.172 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5134, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5134, allocations: 7.938 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.5135, allocations: 16 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5135, allocations: 0 / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5135, allocations: 0 / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5136, allocations: 7.984 kB / 0.5893 GB, free: 15.3 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.0001026/0.5137, allocations: 116.9 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001409/0.5138, allocations: 89.62 kB / 0.5895 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.5139, allocations: 11.89 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.5141, allocations: 110.1 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5141, allocations: 0 / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5141, allocations: 3.938 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5141, allocations: 3.953 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.5145, allocations: 368.1 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5145, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.5146, allocations: 20.03 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5146, allocations: 0 / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5146, allocations: 0 / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.5146, allocations: 11.94 kB / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5147, allocations: 0 / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.5149, allocations: 206.1 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.5149, allocations: 93.02 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.515, allocations: 3.953 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.515, allocations: 7.984 kB / 0.5903 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.5151, allocations: 4 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5151, allocations: 3.984 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.5152, allocations: 121.3 kB / 0.5905 GB, free: 14.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5152, allocations: 3.938 kB / 0.5905 GB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.5155, allocations: 31.94 kB / 0.5905 GB, free: 14.01 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.001434/0.5169, allocations: 1.152 MB / 0.5916 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.5171, allocations: 55.94 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5171, allocations: 0 / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.5172, allocations: 27.94 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5175, allocations: 23.97 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.518, allocations: 195.3 kB / 0.5919 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5183, allocations: 0.708 MB / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.5184, allocations: 20.84 kB / 0.5926 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.5184, allocations: 35.36 kB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5184, allocations: 0 / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.5508, allocations: 2.741 MB / 0.5953 GB, free: 9.055 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.5513, allocations: 167.7 kB / 0.5955 GB, free: 8.863 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.076, allocations: 0 / 0.5955 GB, free: 8.863 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat