Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001356/0.001356, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 236 MB, free: 2.957 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.001007/0.001008, allocations: 86.09 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2641/0.2641, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.576e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6423, allocations: 89.22 MB / 0.5889 GB, free: 16 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.6427, allocations: 72.03 kB / 0.589 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.6594, allocations: 5.64 MB / 0.5945 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6595, allocations: 0 / 0.5945 GB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.6595, allocations: 3.938 kB / 0.5945 GB, free: 10.31 MB / 410.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.0005741/0.6601, allocations: 410.2 kB / 0.5949 GB, free: 9.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.6602, allocations: 12.03 kB / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.6602, allocations: 30.56 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.6603, allocations: 11.81 kB / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.6607, allocations: 215.6 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.6607, allocations: 3.953 kB / 0.5952 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6607, allocations: 7.984 kB / 0.5952 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.6609, allocations: 61.61 kB / 0.5952 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6609, allocations: 0 / 0.5952 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.6609, allocations: 0 / 0.5952 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.6609, allocations: 3.938 kB / 0.5952 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.661, allocations: 23.98 kB / 0.5953 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.6615, allocations: 288.9 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.6617, allocations: 62.62 kB / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.6617, allocations: 16.98 kB / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6617, allocations: 0 / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.6619, allocations: 67.39 kB / 0.5957 GB, free: 8.945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.6619, allocations: 0 / 0.5957 GB, free: 8.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.6624, allocations: 161.1 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6625, allocations: 51.41 kB / 0.5959 GB, free: 8.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.6627, allocations: 183.7 kB / 0.5961 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.6627, allocations: 33.7 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.6628, allocations: 100.1 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.6628, allocations: 27.64 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.6629, allocations: 4 kB / 0.5962 GB, free: 8.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.663, allocations: 326.8 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.6631, allocations: 20 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.6631, allocations: 33.66 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.6632, allocations: 23.98 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6632, allocations: 0 / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/0.6634, allocations: 93.59 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6634, allocations: 13.17 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6634, allocations: 0 / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6634, allocations: 4 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.6635, allocations: 16 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6635, allocations: 384 / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.6636, allocations: 8.031 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.6636, allocations: 15.92 kB / 0.5967 GB, free: 7.793 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 9.158e-05/0.6637, allocations: 108.9 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.6638, allocations: 15.81 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.664, allocations: 115.1 kB / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.664, allocations: 0 / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.664, allocations: 0 / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.664, allocations: 0 / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.6645, allocations: 419.4 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6646, allocations: 0 / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.6646, allocations: 19.86 kB / 0.5974 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6646, allocations: 0 / 0.5974 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6646, allocations: 4 kB / 0.5974 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6646, allocations: 80 / 0.5974 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6646, allocations: 3.984 kB / 0.5974 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.6649, allocations: 225.8 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.665, allocations: 93 kB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.665, allocations: 4 kB / 0.5977 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.6651, allocations: 4 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.6652, allocations: 11.94 kB / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.6652, allocations: 4 kB / 0.5977 GB, free: 6.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.6653, allocations: 148.9 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6653, allocations: 4 kB / 0.5979 GB, free: 6.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.6656, allocations: 39.94 kB / 0.5979 GB, free: 6.484 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.001589/0.6672, allocations: 1.139 MB / 0.599 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.6674, allocations: 59.92 kB / 0.5991 GB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6674, allocations: 0 / 0.5991 GB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.6675, allocations: 35.88 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.6678, allocations: 28.05 kB / 0.5991 GB, free: 5.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.6683, allocations: 232.6 kB / 0.5994 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.6686, allocations: 0.7082 MB / 0.6001 GB, free: 4.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.6687, allocations: 28.64 kB / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.6688, allocations: 35.42 kB / 0.6001 GB, free: 4.254 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6688, allocations: 4 kB / 0.6001 GB, free: 4.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.6854, allocations: 3.065 MB / 0.6031 GB, free: 1.277 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.6857, allocations: 192 kB / 0.6033 GB, free: 1.043 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.42, allocations: 4 kB / 0.6033 GB, free: 1.039 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat