Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.0009437/0.0009437, allocations: 169 kB / 8.742 MB, free: 344 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.471/1.471, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0008905/0.0008905, allocations: 99.3 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.2753/0.2753, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.74e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1901, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.6418, allocations: 88.56 MB / 0.5813 GB, free: 7.887 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.642, allocations: 71.97 kB / 0.5813 GB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.6568, allocations: 5.542 MB / 0.5867 GB, free: 2.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6568, allocations: 0 / 0.5867 GB, free: 2.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.6568, allocations: 3.938 kB / 0.5867 GB, free: 2.285 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.0004758/0.6573, allocations: 402.2 kB / 0.5871 GB, free: 1.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6574, allocations: 19.98 kB / 0.5871 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.6574, allocations: 7.906 kB / 0.5872 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.6577, allocations: 214.7 kB / 0.5874 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.6578, allocations: 3.953 kB / 0.5874 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.6578, allocations: 4 kB / 0.5874 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.552e-05/0.6579, allocations: 12 kB / 0.5874 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.658, allocations: 53.61 kB / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.658, allocations: 0 / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.658, allocations: 4 kB / 0.5874 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.658, allocations: 7.938 kB / 0.5874 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.6584, allocations: 265.5 kB / 0.5877 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.6585, allocations: 50.69 kB / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.6586, allocations: 16.98 kB / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.6586, allocations: 0 / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.6587, allocations: 71.33 kB / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.6587, allocations: 0 / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004427/0.6592, allocations: 153.2 kB / 0.588 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6592, allocations: 51.41 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.6594, allocations: 165.3 kB / 0.5882 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.6594, allocations: 25.7 kB / 0.5882 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.6595, allocations: 104.1 kB / 0.5883 GB, free: 0.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.6595, allocations: 15.72 kB / 0.5883 GB, free: 496 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.6595, allocations: 4 kB / 0.5883 GB, free: 492 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6597, allocations: 326.8 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.6597, allocations: 12 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.6598, allocations: 33.7 kB / 0.5887 GB, free: 104 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.6598, allocations: 28.02 kB / 0.5887 GB, free: 76 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.6598, allocations: 0 / 0.5887 GB, free: 76 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.66, allocations: 101.4 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.66, allocations: 8.031 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.66, allocations: 0 / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.66, allocations: 4 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.6601, allocations: 15.98 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.6601, allocations: 0 / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.6602, allocations: 7.938 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.6602, allocations: 384 / 0.5888 GB, free: 15.93 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 8.949e-05/0.6603, allocations: 111.2 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001408/0.6605, allocations: 105.4 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.6605, allocations: 15.81 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.6607, allocations: 110.2 kB / 0.5892 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6607, allocations: 7.984 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6607, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6607, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.6611, allocations: 375.8 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6611, allocations: 0 / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.6612, allocations: 15.92 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.6612, allocations: 4.031 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6612, allocations: 8 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6612, allocations: 0 / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6612, allocations: 0 / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.6614, allocations: 214 kB / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.6615, allocations: 97 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.6615, allocations: 4 kB / 0.5899 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.6616, allocations: 4 kB / 0.5899 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.6616, allocations: 11.94 kB / 0.5899 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.6616, allocations: 0 / 0.5899 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.6617, allocations: 141 kB / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6618, allocations: 0 / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.662, allocations: 24 kB / 0.59 GB, free: 14.61 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.001282/0.6633, allocations: 1.104 MB / 0.5911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.6634, allocations: 51.98 kB / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6635, allocations: 0 / 0.5912 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.6635, allocations: 31.94 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6638, allocations: 27.92 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.6643, allocations: 215 kB / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.6646, allocations: 0.7079 MB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.6646, allocations: 20.41 kB / 0.5921 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.6647, allocations: 35.42 kB / 0.5922 GB, free: 12.4 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.6647, allocations: 11.88 kB / 0.5922 GB, free: 12.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.6867, allocations: 2.644 MB / 0.5948 GB, free: 9.754 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.687, allocations: 167.3 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.286, allocations: 3.938 kB / 0.5949 GB, free: 9.559 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat