Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008517/0.0008516, allocations: 94.55 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.244e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5647, allocations: 86.97 MB / 0.551 GB, free: 7.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.5649, allocations: 73.66 kB / 0.551 GB, free: 7.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.5773, allocations: 5.496 MB / 0.5564 GB, free: 3.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5773, allocations: 0 / 0.5564 GB, free: 3.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.5774, allocations: 7.938 kB / 0.5564 GB, free: 3.254 MB / 362.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.000334/0.5777, allocations: 411 kB / 0.5568 GB, free: 2.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5777, allocations: 12.03 kB / 0.5568 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.5778, allocations: 15.81 kB / 0.5568 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.578, allocations: 221.1 kB / 0.557 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.578, allocations: 0 / 0.557 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.5781, allocations: 7.938 kB / 0.557 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.053e-05/0.5782, allocations: 21.55 kB / 0.5571 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/0.5782, allocations: 52.67 kB / 0.5571 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5783, allocations: 0 / 0.5571 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5783, allocations: 0 / 0.5571 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5783, allocations: 4 kB / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.5786, allocations: 277.4 kB / 0.5574 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.5787, allocations: 52.25 kB / 0.5574 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.5787, allocations: 19.48 kB / 0.5575 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.5787, allocations: 3.984 kB / 0.5575 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/0.5788, allocations: 66.08 kB / 0.5575 GB, free: 2.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.5788, allocations: 0 / 0.5575 GB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003473/0.5792, allocations: 148 kB / 0.5577 GB, free: 1.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.5792, allocations: 59.34 kB / 0.5577 GB, free: 1.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5794, allocations: 204.8 kB / 0.5579 GB, free: 1.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.5794, allocations: 25.7 kB / 0.5579 GB, free: 1.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.5794, allocations: 109 kB / 0.558 GB, free: 1.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.5795, allocations: 23.09 kB / 0.5581 GB, free: 1.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.5795, allocations: 4 kB / 0.5581 GB, free: 1.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.5795, allocations: 322.5 kB / 0.5584 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.5796, allocations: 14.88 kB / 0.5584 GB, free: 1.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.5796, allocations: 34.89 kB / 0.5584 GB, free: 1.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.5796, allocations: 29.3 kB / 0.5585 GB, free: 1.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5796, allocations: 0 / 0.5585 GB, free: 1.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.5798, allocations: 92.47 kB / 0.5585 GB, free: 1.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5798, allocations: 8.031 kB / 0.5585 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.5798, allocations: 0 / 0.5585 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5799, allocations: 4 kB / 0.5586 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.5799, allocations: 16.17 kB / 0.5586 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.58, allocations: 0 / 0.5586 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.58, allocations: 8 kB / 0.5586 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.58, allocations: 3.953 kB / 0.5586 GB, free: 1.008 MB / 362.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 5.19e-05/0.5801, allocations: 112.5 kB / 0.5587 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001116/0.5802, allocations: 92.11 kB / 0.5588 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.5802, allocations: 19.81 kB / 0.5588 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.5804, allocations: 115.6 kB / 0.5589 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5804, allocations: 4 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5804, allocations: 3.953 kB / 0.5589 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5804, allocations: 0 / 0.5589 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.5807, allocations: 383.9 kB / 0.5593 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5807, allocations: 0 / 0.5593 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.5808, allocations: 11.98 kB / 0.5593 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5808, allocations: 8.031 kB / 0.5593 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.5808, allocations: 0 / 0.5593 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5808, allocations: 3.953 kB / 0.5593 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5808, allocations: 4 kB / 0.5593 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.5809, allocations: 214.1 kB / 0.5595 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.581, allocations: 96.25 kB / 0.5596 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.5811, allocations: 7.953 kB / 0.5596 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.5811, allocations: 7.938 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.5812, allocations: 11.23 kB / 0.5596 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.5812, allocations: 4 kB / 0.5596 GB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5813, allocations: 158.1 kB / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5813, allocations: 0 / 0.5598 GB, free: 15.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.5816, allocations: 31.92 kB / 0.5598 GB, free: 15.77 MB / 378.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.001191/0.5828, allocations: 1.109 MB / 0.5609 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.5829, allocations: 53.23 kB / 0.5609 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5829, allocations: 0 / 0.5609 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.583, allocations: 27.06 kB / 0.561 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5832, allocations: 21.61 kB / 0.561 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.5837, allocations: 254.8 kB / 0.5612 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.584, allocations: 0.7106 MB / 0.5619 GB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.307e-05/0.5841, allocations: 20.55 kB / 0.5619 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.5841, allocations: 37.86 kB / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5842, allocations: 4 kB / 0.562 GB, free: 13.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.6041, allocations: 2.852 MB / 0.5648 GB, free: 10.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6044, allocations: 170.5 kB / 0.5649 GB, free: 10.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.122, allocations: 0 / 0.5649 GB, free: 10.55 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat