Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.001577/0.001577, allocations: 185.2 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.426/1.426, 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.0009053/0.0009052, allocations: 86.86 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.2048/0.2048, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 15.98 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6406, allocations: 87.94 MB / 0.5647 GB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.641, allocations: 79.33 kB / 0.5648 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.6574, allocations: 5.967 MB / 0.5706 GB, free: 6.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.6575, allocations: 0 / 0.5706 GB, free: 6.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.6575, allocations: 7.938 kB / 0.5706 GB, free: 6.922 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005998/0.6581, allocations: 409.9 kB / 0.571 GB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.6582, allocations: 16.02 kB / 0.5711 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.6583, allocations: 34.06 kB / 0.5711 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.6583, allocations: 7.906 kB / 0.5711 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.6586, allocations: 213.6 kB / 0.5713 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6587, allocations: 0 / 0.5713 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.6587, allocations: 4 kB / 0.5713 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.6589, allocations: 69.58 kB / 0.5714 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6589, allocations: 7.906 kB / 0.5714 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.6589, allocations: 3.984 kB / 0.5714 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6589, allocations: 0 / 0.5714 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.659, allocations: 26.75 kB / 0.5714 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.6595, allocations: 284.3 kB / 0.5717 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.6597, allocations: 60.48 kB / 0.5717 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.6598, allocations: 0 / 0.5717 GB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.66, allocations: 68.52 kB / 0.5718 GB, free: 5.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.66, allocations: 3.938 kB / 0.5718 GB, free: 5.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006738/0.6607, allocations: 168.8 kB / 0.572 GB, free: 5.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.6608, allocations: 85.11 kB / 0.572 GB, free: 5.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.661, allocations: 147 kB / 0.5722 GB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.661, allocations: 28.33 kB / 0.5722 GB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.6611, allocations: 94.83 kB / 0.5723 GB, free: 5.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.6611, allocations: 23.58 kB / 0.5723 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.6611, allocations: 0 / 0.5723 GB, free: 5.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6613, allocations: 322.6 kB / 0.5726 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.6614, allocations: 19.75 kB / 0.5727 GB, free: 4.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.6615, allocations: 46.17 kB / 0.5727 GB, free: 4.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.6615, allocations: 27.5 kB / 0.5727 GB, free: 4.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6616, allocations: 0 / 0.5727 GB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.6618, allocations: 103.7 kB / 0.5728 GB, free: 4.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6618, allocations: 7.953 kB / 0.5728 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6618, allocations: 4 kB / 0.5728 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.6618, allocations: 0 / 0.5728 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.6619, allocations: 12.06 kB / 0.5728 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6619, allocations: 4 kB / 0.5728 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.662, allocations: 12.45 kB / 0.5729 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.662, allocations: 4 kB / 0.5729 GB, free: 4.59 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 (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.000123/0.6621, allocations: 129.5 kB / 0.573 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.6622, allocations: 11.91 kB / 0.573 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.6624, allocations: 117.5 kB / 0.5731 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6624, allocations: 3.938 kB / 0.5731 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6625, allocations: 8 kB / 0.5731 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6625, allocations: 7.984 kB / 0.5731 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.663, allocations: 401.9 kB / 0.5735 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.663, allocations: 3.953 kB / 0.5735 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.663, allocations: 8 kB / 0.5735 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.663, allocations: 7.984 kB / 0.5735 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.663, allocations: 0 / 0.5735 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.663, allocations: 0 / 0.5735 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6631, allocations: 8.031 kB / 0.5735 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.6633, allocations: 221.6 kB / 0.5737 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.6634, allocations: 92.3 kB / 0.5738 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.6634, allocations: 7.984 kB / 0.5738 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.188e-05/0.6635, allocations: 0 / 0.5738 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.6636, allocations: 11.38 kB / 0.5739 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.6636, allocations: 7.984 kB / 0.5739 GB, free: 3.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.6637, allocations: 124 kB / 0.574 GB, free: 3.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6637, allocations: 0 / 0.574 GB, free: 3.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.664, allocations: 33.19 kB / 0.574 GB, free: 3.414 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) * Number of clocked states: 0 () * 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.001756/0.6658, allocations: 1.23 MB / 0.5752 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.666, allocations: 64.95 kB / 0.5753 GB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.666, allocations: 3.938 kB / 0.5753 GB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.6661, allocations: 30.48 kB / 0.5753 GB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6663, allocations: 26.36 kB / 0.5753 GB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6676, allocations: 0.8045 MB / 0.5761 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.668, allocations: 0.7004 MB / 0.5768 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.6681, allocations: 16.84 kB / 0.5768 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.6681, allocations: 32.98 kB / 0.5769 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6682, allocations: 0 / 0.5769 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.6861, allocations: 3.086 MB / 0.5799 GB, free: 13.51 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/0.6865, allocations: 218.4 kB / 0.5801 GB, free: 13.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.406, allocations: 3.938 kB / 0.5801 GB, free: 13.26 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat