Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001105/0.001104, allocations: 180.5 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.506/1.506, allocations: 221.3 MB / 236 MB, free: 2.996 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.001084/0.001084, allocations: 91.84 kB / 287 MB, free: 252 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.275/0.275, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-05/4.654e-05, allocations: 8.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6469, allocations: 89.18 MB / 0.5889 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.6473, allocations: 76.02 kB / 0.589 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.6653, allocations: 5.459 MB / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6654, allocations: 4 kB / 0.5943 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.6654, allocations: 0 / 0.5943 GB, free: 10.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008181/0.6663, allocations: 394.2 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.356e-05/0.6664, allocations: 8.031 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.357e-05/0.6665, allocations: 34.56 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.6665, allocations: 15.89 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.667, allocations: 210.8 kB / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.667, allocations: 3.953 kB / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.6671, allocations: 8 kB / 0.5949 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.6672, allocations: 57.61 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6673, allocations: 0 / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.6673, allocations: 0 / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6673, allocations: 3.938 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.6674, allocations: 19.98 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.6679, allocations: 296.9 kB / 0.5953 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.668, allocations: 54.62 kB / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.6681, allocations: 24.97 kB / 0.5954 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6681, allocations: 0 / 0.5954 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.6683, allocations: 63.41 kB / 0.5954 GB, free: 9.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.6683, allocations: 0 / 0.5954 GB, free: 9.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.6689, allocations: 161.1 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.6689, allocations: 59.41 kB / 0.5957 GB, free: 8.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.6691, allocations: 161.4 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.6692, allocations: 33.64 kB / 0.5958 GB, free: 8.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.6693, allocations: 100.1 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.6693, allocations: 27.69 kB / 0.596 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.6693, allocations: 4 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6695, allocations: 330.8 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.6696, allocations: 20 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.6697, allocations: 29.72 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.6697, allocations: 23.92 kB / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.6697, allocations: 0 / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.6699, allocations: 97.5 kB / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.67, allocations: 5.094 kB / 0.5965 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.67, allocations: 4.219 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.67, allocations: 0 / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6701, allocations: 35.91 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6702, allocations: 0 / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.6702, allocations: 7.938 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.6702, allocations: 0 / 0.5965 GB, free: 8.066 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.0001111/0.6704, allocations: 114.5 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.6704, allocations: 11.89 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.6706, allocations: 114.2 kB / 0.5967 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6707, allocations: 4 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6707, allocations: 0 / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6707, allocations: 3.984 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.6712, allocations: 415.2 kB / 0.5971 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6712, allocations: 0 / 0.5971 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.6713, allocations: 11.94 kB / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6713, allocations: 0 / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6713, allocations: 8.031 kB / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6713, allocations: 0 / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6713, allocations: 3.938 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.6716, allocations: 218.2 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.6717, allocations: 96.84 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.6717, allocations: 8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.6718, allocations: 8 kB / 0.5975 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.6719, allocations: 7.938 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.6719, allocations: 4 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.672, allocations: 148.9 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.672, allocations: 0 / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.6723, allocations: 28 kB / 0.5976 GB, free: 6.777 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.001518/0.6739, allocations: 1.141 MB / 0.5988 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.674, allocations: 55.94 kB / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.674, allocations: 0 / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.6741, allocations: 35.88 kB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6744, allocations: 27.92 kB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.6751, allocations: 220.4 kB / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.6755, allocations: 0.7162 MB / 0.5998 GB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.403e-05/0.6756, allocations: 20.41 kB / 0.5998 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.6756, allocations: 35.42 kB / 0.5998 GB, free: 4.551 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6756, allocations: 0 / 0.5998 GB, free: 4.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.6905, allocations: 3.002 MB / 0.6028 GB, free: 1.641 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.6908, allocations: 188 kB / 0.603 GB, free: 1.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.39, allocations: 7.938 kB / 0.603 GB, free: 1.406 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat