Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001049/0.001049, allocations: 182.9 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007833/0.0007832, allocations: 92.47 kB / 267 MB, free: 9.277 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.4354/0.4354, allocations: 43.48 MB / 358.6 MB, free: 52.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.361e-05/5.365e-05, allocations: 11.98 kB / 425.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 58.84 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.6268, allocations: 87.73 MB / 0.5586 GB, free: 1.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.6271, allocations: 77.77 kB / 0.5587 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02114/0.6483, allocations: 7.678 MB / 0.5662 GB, free: 9.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6483, allocations: 4 kB / 0.5662 GB, free: 9.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.6484, allocations: 8 kB / 0.5662 GB, free: 9.496 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006413/0.649, allocations: 491.4 kB / 0.5666 GB, free: 8.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.6491, allocations: 12.03 kB / 0.5666 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.6491, allocations: 38.55 kB / 0.5667 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.6492, allocations: 23.72 kB / 0.5667 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.6497, allocations: 299.8 kB / 0.567 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.6498, allocations: 8 kB / 0.567 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.6498, allocations: 8 kB / 0.567 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.65, allocations: 88.75 kB / 0.5671 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.65, allocations: 4 kB / 0.5671 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.65, allocations: 3.984 kB / 0.5671 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.65, allocations: 3.984 kB / 0.5671 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.6502, allocations: 47.88 kB / 0.5671 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.6508, allocations: 469 kB / 0.5676 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.651, allocations: 105.5 kB / 0.5677 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.6511, allocations: 45.83 kB / 0.5677 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.6511, allocations: 4 kB / 0.5677 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.6513, allocations: 124.8 kB / 0.5679 GB, free: 7.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.6513, allocations: 0 / 0.5679 GB, free: 7.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007332/0.6521, allocations: 320 kB / 0.5682 GB, free: 7.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6521, allocations: 85.05 kB / 0.5682 GB, free: 7.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.6526, allocations: 390.6 kB / 0.5686 GB, free: 6.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.6526, allocations: 33.7 kB / 0.5687 GB, free: 6.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6528, allocations: 148.4 kB / 0.5688 GB, free: 6.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.6528, allocations: 55.28 kB / 0.5688 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.6528, allocations: 0 / 0.5688 GB, free: 6.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.653, allocations: 348.4 kB / 0.5692 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.6531, allocations: 35.98 kB / 0.5692 GB, free: 6.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.6532, allocations: 71.39 kB / 0.5693 GB, free: 6.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.6533, allocations: 47.97 kB / 0.5693 GB, free: 5.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6533, allocations: 0 / 0.5693 GB, free: 5.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000266/0.6535, allocations: 173.2 kB / 0.5695 GB, free: 5.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6536, allocations: 4 kB / 0.5695 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6536, allocations: 0 / 0.5695 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.6536, allocations: 7.984 kB / 0.5695 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6538, allocations: 31.98 kB / 0.5695 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.6538, allocations: 8.062 kB / 0.5695 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.6539, allocations: 7.906 kB / 0.5696 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.6539, allocations: 15.94 kB / 0.5696 GB, free: 5.746 MB / 394.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.471e-05/0.654, allocations: 120.9 kB / 0.5697 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.6541, allocations: 27.72 kB / 0.5697 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.6544, allocations: 214.5 kB / 0.5699 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6544, allocations: 4 kB / 0.5699 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6545, allocations: 4 kB / 0.5699 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6545, allocations: 0 / 0.5699 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.6553, allocations: 0.675 MB / 0.5706 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6553, allocations: 3.938 kB / 0.5706 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.6554, allocations: 23.98 kB / 0.5706 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6554, allocations: 0 / 0.5706 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.6554, allocations: 12.06 kB / 0.5706 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6554, allocations: 3.938 kB / 0.5706 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6554, allocations: 4.375 kB / 0.5706 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.6558, allocations: 414.7 kB / 0.571 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.656, allocations: 124.9 kB / 0.5711 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.656, allocations: 15.95 kB / 0.5712 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.6562, allocations: 7.938 kB / 0.5712 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.6562, allocations: 19.92 kB / 0.5712 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6562, allocations: 7.984 kB / 0.5712 GB, free: 3.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003088/0.6566, allocations: 314.1 kB / 0.5715 GB, free: 3.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6566, allocations: 4 kB / 0.5715 GB, free: 3.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.6569, allocations: 59.94 kB / 0.5715 GB, free: 3.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001712/0.6587, allocations: 1.455 MB / 0.573 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.6589, allocations: 119.8 kB / 0.5731 GB, free: 2.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6589, allocations: 3.938 kB / 0.5731 GB, free: 2.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.659, allocations: 60.19 kB / 0.5731 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.6595, allocations: 58.42 kB / 0.5732 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.6605, allocations: 498.1 kB / 0.5737 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.6609, allocations: 0.7714 MB / 0.5744 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.661, allocations: 37.52 kB / 0.5745 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.6612, allocations: 87.41 kB / 0.5745 GB, free: 500 kB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6612, allocations: 7.938 kB / 0.5746 GB, free: 492 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.6795, allocations: 5.563 MB / 0.58 GB, free: 10.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.6797, allocations: 187.6 kB / 0.5802 GB, free: 10.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.625, allocations: 0 / 0.5802 GB, free: 10.72 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat