Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001356/0.001355, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 236 MB, free: 2.953 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.001027/0.001027, allocations: 97.95 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.113e-05/7.146e-05, allocations: 4 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1569, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.6829, allocations: 89.25 MB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.6833, allocations: 74.31 kB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.7031, allocations: 5.858 MB / 0.5948 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.7031, allocations: 0 / 0.5948 GB, free: 10.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.7032, allocations: 8 kB / 0.5948 GB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007078/0.7039, allocations: 430.1 kB / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.704, allocations: 8.031 kB / 0.5952 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.7041, allocations: 46.44 kB / 0.5952 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.7042, allocations: 19.81 kB / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.7047, allocations: 242.5 kB / 0.5955 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.7047, allocations: 11.95 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7048, allocations: 4 kB / 0.5955 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.705, allocations: 101 kB / 0.5956 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.705, allocations: 0 / 0.5956 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.705, allocations: 8 kB / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7051, allocations: 0 / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.7052, allocations: 27.98 kB / 0.5956 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.7055, allocations: 214.5 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.7057, allocations: 105.2 kB / 0.5959 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.7058, allocations: 37.72 kB / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.7058, allocations: 96 / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.7061, allocations: 109 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.7061, allocations: 0 / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003665/0.7064, allocations: 137.4 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7066, allocations: 132.5 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.7068, allocations: 203 kB / 0.5965 GB, free: 8.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.7069, allocations: 29.7 kB / 0.5965 GB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.7069, allocations: 112.1 kB / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.707, allocations: 35.64 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.707, allocations: 0 / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7072, allocations: 326.8 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.7073, allocations: 28 kB / 0.597 GB, free: 7.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.7074, allocations: 65.14 kB / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.7075, allocations: 36.05 kB / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7075, allocations: 0 / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002543/0.7077, allocations: 137.4 kB / 0.5972 GB, free: 7.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.7078, allocations: 9.406 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7078, allocations: 7.922 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7078, allocations: 0 / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.7079, allocations: 23.94 kB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.708, allocations: 0 / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.7081, allocations: 15.98 kB / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.7081, allocations: 4 kB / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001115/0.7082, allocations: 124.8 kB / 0.5974 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.7083, allocations: 27.7 kB / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.7086, allocations: 154.6 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7086, allocations: 0 / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7086, allocations: 4 kB / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7086, allocations: 0 / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.7089, allocations: 221.6 kB / 0.5978 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7089, allocations: 4 kB / 0.5978 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.709, allocations: 11.94 kB / 0.5978 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.709, allocations: 3.953 kB / 0.5978 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.709, allocations: 12.23 kB / 0.5978 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.709, allocations: 4 kB / 0.5978 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.709, allocations: 0 / 0.5978 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.7093, allocations: 183.4 kB / 0.598 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.7094, allocations: 100.9 kB / 0.5981 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.7095, allocations: 4 kB / 0.5981 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.7095, allocations: 15.98 kB / 0.5981 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.7096, allocations: 7.984 kB / 0.5981 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.7096, allocations: 4 kB / 0.5982 GB, free: 6.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.7098, allocations: 165.5 kB / 0.5983 GB, free: 6.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7098, allocations: 0 / 0.5983 GB, free: 6.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.7101, allocations: 47.94 kB / 0.5984 GB, free: 5.961 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001765/0.7119, allocations: 1.106 MB / 0.5994 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.7121, allocations: 83.92 kB / 0.5995 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7122, allocations: 0 / 0.5995 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.7122, allocations: 43.98 kB / 0.5996 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.7126, allocations: 51.23 kB / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.7134, allocations: 265.4 kB / 0.5999 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.7137, allocations: 0.7245 MB / 0.6006 GB, free: 3.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.7139, allocations: 33.3 kB / 0.6006 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.714, allocations: 51.41 kB / 0.6006 GB, free: 3.629 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.714, allocations: 0 / 0.6006 GB, free: 3.629 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.7353, allocations: 4.191 MB / 0.6047 GB, free: 15.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.7355, allocations: 191.4 kB / 0.6049 GB, free: 15.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.569, allocations: 4 kB / 0.6049 GB, free: 15.3 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat