Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.001689/0.001689, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.888/1.888, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001292/0.001292, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2387/0.2387, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003725, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4234/0.568, allocations: 87.55 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5683, allocations: 75.84 kB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.5831, allocations: 5.532 MB / 0.5698 GB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5831, allocations: 0 / 0.5698 GB, free: 7.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5831, allocations: 0 / 0.5698 GB, free: 7.371 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005539/0.5837, allocations: 445.8 kB / 0.5703 GB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5837, allocations: 8.031 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.5838, allocations: 34.55 kB / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.5839, allocations: 15.81 kB / 0.5703 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.5842, allocations: 236.2 kB / 0.5705 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.5842, allocations: 4 kB / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5842, allocations: 0 / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5844, allocations: 48.17 kB / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5844, allocations: 4 kB / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5844, allocations: 0 / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.5844, allocations: 0 / 0.5706 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.5845, allocations: 19.86 kB / 0.5706 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.5847, allocations: 195.6 kB / 0.5708 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5849, allocations: 57.11 kB / 0.5708 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5849, allocations: 0 / 0.5708 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.5851, allocations: 66.48 kB / 0.5709 GB, free: 6.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.5851, allocations: 4 kB / 0.5709 GB, free: 6.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002762/0.5854, allocations: 102.7 kB / 0.571 GB, free: 6.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5854, allocations: 55.41 kB / 0.5711 GB, free: 5.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.5857, allocations: 235 kB / 0.5713 GB, free: 5.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5857, allocations: 33.2 kB / 0.5713 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.5858, allocations: 105.9 kB / 0.5714 GB, free: 5.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.5858, allocations: 23.11 kB / 0.5714 GB, free: 5.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5858, allocations: 0 / 0.5714 GB, free: 5.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5859, allocations: 325.6 kB / 0.5718 GB, free: 5.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.586, allocations: 11.5 kB / 0.5718 GB, free: 5.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.586, allocations: 40.45 kB / 0.5718 GB, free: 5.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.5861, allocations: 19.44 kB / 0.5718 GB, free: 5.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5861, allocations: 0 / 0.5718 GB, free: 5.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001463/0.5863, allocations: 79.09 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5863, allocations: 10.66 kB / 0.5719 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5863, allocations: 0 / 0.5719 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5863, allocations: 0 / 0.5719 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.5864, allocations: 19.95 kB / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5864, allocations: 0 / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.5865, allocations: 11.41 kB / 0.5719 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.5865, allocations: 4 kB / 0.5719 GB, free: 5.145 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000116/0.5866, allocations: 140 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.5866, allocations: 11.91 kB / 0.5721 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.5869, allocations: 102.9 kB / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5869, allocations: 4 kB / 0.5722 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5869, allocations: 4 kB / 0.5722 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5869, allocations: 0 / 0.5722 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5871, allocations: 211.2 kB / 0.5724 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5871, allocations: 3.953 kB / 0.5724 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.5871, allocations: 4 kB / 0.5724 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5871, allocations: 7.922 kB / 0.5724 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.5871, allocations: 3.938 kB / 0.5724 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5871, allocations: 0 / 0.5724 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5871, allocations: 4 kB / 0.5724 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5873, allocations: 111.1 kB / 0.5725 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.5874, allocations: 104.2 kB / 0.5726 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.5875, allocations: 8 kB / 0.5726 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.5875, allocations: 0 / 0.5726 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.5875, allocations: 11.88 kB / 0.5726 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5876, allocations: 7.984 kB / 0.5726 GB, free: 4.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.5877, allocations: 191.8 kB / 0.5728 GB, free: 4.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.773e-06/0.5878, allocations: 0 / 0.5728 GB, free: 4.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.588, allocations: 42.86 kB / 0.5729 GB, free: 4.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001258/0.5893, allocations: 0.9595 MB / 0.5738 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5894, allocations: 42.67 kB / 0.5739 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5894, allocations: 0 / 0.5739 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.5895, allocations: 29.23 kB / 0.5739 GB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.5898, allocations: 23.23 kB / 0.5739 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.591, allocations: 0.9691 MB / 0.5748 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5913, allocations: 0.7195 MB / 0.5755 GB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.5914, allocations: 20.42 kB / 0.5756 GB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.5915, allocations: 40.67 kB / 0.5756 GB, free: 1.473 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5915, allocations: 0 / 0.5756 GB, free: 1.473 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.6064, allocations: 3.149 MB / 0.5787 GB, free: 14.35 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.6067, allocations: 213.7 kB / 0.5789 GB, free: 14.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.25, allocations: 0 / 0.5789 GB, free: 14.11 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat