Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.00102/0.00102, allocations: 170.6 kB / 8.739 MB, free: 340 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008989/0.000899, allocations: 95.36 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.16 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.937e-05, allocations: 8 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.6407, allocations: 88.56 MB / 0.5813 GB, free: 7.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6411, allocations: 75.97 kB / 0.5813 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01594/0.657, allocations: 5.606 MB / 0.5868 GB, free: 2.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6571, allocations: 0 / 0.5868 GB, free: 2.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.6571, allocations: 0 / 0.5868 GB, free: 2.141 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004541/0.6575, allocations: 412.7 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6576, allocations: 15.98 kB / 0.5872 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.6576, allocations: 11.81 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.6579, allocations: 207.6 kB / 0.5874 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.6579, allocations: 7.953 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.658, allocations: 0 / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.069e-05/0.658, allocations: 16 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.6581, allocations: 53.67 kB / 0.5875 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6582, allocations: 4 kB / 0.5875 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6582, allocations: 3.938 kB / 0.5875 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6582, allocations: 0 / 0.5875 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.6586, allocations: 281.4 kB / 0.5878 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.6587, allocations: 42.7 kB / 0.5878 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.6587, allocations: 20.97 kB / 0.5878 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6587, allocations: 4 kB / 0.5878 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.6589, allocations: 59.41 kB / 0.5879 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6589, allocations: 3.938 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004078/0.6593, allocations: 149.2 kB / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6593, allocations: 51.41 kB / 0.5881 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.6595, allocations: 175.7 kB / 0.5883 GB, free: 480 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6595, allocations: 29.7 kB / 0.5883 GB, free: 444 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.6596, allocations: 108.1 kB / 0.5884 GB, free: 332 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.6596, allocations: 27.64 kB / 0.5884 GB, free: 304 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.6596, allocations: 0.75 kB / 0.5884 GB, free: 304 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6598, allocations: 322.8 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.6598, allocations: 19.94 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.6599, allocations: 33.66 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.6599, allocations: 27.94 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6599, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001338/0.6601, allocations: 89.58 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6601, allocations: 4 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6601, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6601, allocations: 3.984 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.6603, allocations: 19.94 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.6603, allocations: 0 / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.6603, allocations: 4 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.6603, allocations: 0 / 0.5889 GB, free: 15.76 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 7.54e-05/0.6604, allocations: 121 kB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001406/0.6606, allocations: 93.62 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.6606, allocations: 15.91 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.6608, allocations: 111.7 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6608, allocations: 0 / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6608, allocations: 7.922 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6608, allocations: 0 / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.6612, allocations: 383.8 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6612, allocations: 7.938 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.6613, allocations: 15.92 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6613, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.6613, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6613, allocations: 4 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6613, allocations: 0 / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.6615, allocations: 218.1 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.6616, allocations: 96.91 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.6616, allocations: 0 / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.6617, allocations: 4 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.6617, allocations: 15.94 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.6618, allocations: 384 / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.6619, allocations: 144 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6619, allocations: 0 / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.6621, allocations: 35.94 kB / 0.5901 GB, free: 14.4 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.001249/0.6634, allocations: 1.102 MB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.6635, allocations: 47.94 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6635, allocations: 0 / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.181e-05/0.6636, allocations: 32.06 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.6638, allocations: 31.86 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.6644, allocations: 231 kB / 0.5915 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.6646, allocations: 0.708 MB / 0.5922 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.6647, allocations: 28.7 kB / 0.5923 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.6648, allocations: 35.42 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6648, allocations: 0 / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.7043, allocations: 2.712 MB / 0.5949 GB, free: 9.488 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.7046, allocations: 166.1 kB / 0.5951 GB, free: 9.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.278, allocations: 0 / 0.5951 GB, free: 9.297 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat