Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001297/0.001298, allocations: 176.8 kB / 17.06 MB, free: 5.094 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.329/1.329, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 91.16 kB / 292.1 MB, free: 10.67 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.4613/0.4613, allocations: 44.21 MB / 387.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 8 kB / 460 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3397, allocations: 61.9 MB / 0.5096 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4547, allocations: 89.25 MB / 0.5968 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.4551, allocations: 87.91 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.4701, allocations: 5.484 MB / 0.6022 GB, free: 260 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4701, allocations: 7.938 kB / 0.6023 GB, free: 252 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4701, allocations: 4 kB / 0.6023 GB, free: 248 kB / 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.0005137/0.4707, allocations: 414.9 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4707, allocations: 8.031 kB / 0.6027 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.4708, allocations: 30.56 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.4708, allocations: 15.84 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.4711, allocations: 215.8 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4711, allocations: 7.953 kB / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4712, allocations: 8 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.4713, allocations: 57.66 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4713, allocations: 0 / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4713, allocations: 4 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4714, allocations: 0 / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.4714, allocations: 19.98 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.4718, allocations: 288.8 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.472, allocations: 62.67 kB / 0.6033 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.472, allocations: 0 / 0.6033 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.4722, allocations: 71.45 kB / 0.6034 GB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4722, allocations: 0 / 0.6034 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005494/0.4727, allocations: 177.2 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4728, allocations: 67.33 kB / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.4729, allocations: 163.1 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.473, allocations: 33.7 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.473, allocations: 100.1 kB / 0.6039 GB, free: 14.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4731, allocations: 23.66 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4731, allocations: 0 / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4732, allocations: 326.8 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.4733, allocations: 23.98 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.4733, allocations: 37.7 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.4734, allocations: 20.19 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4734, allocations: 192 / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.4736, allocations: 109.4 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4736, allocations: 9.344 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4736, allocations: 0 / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4736, allocations: 4 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.4737, allocations: 15.98 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4737, allocations: 4.031 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.4738, allocations: 4 kB / 0.6045 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4738, allocations: 7.938 kB / 0.6045 GB, free: 13.73 MB / 426.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 9.576e-05/0.4739, allocations: 140.3 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.4739, allocations: 7.906 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4742, allocations: 118.3 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4742, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4742, allocations: 4 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4742, allocations: 0 / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.4747, allocations: 419.2 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4747, allocations: 4 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.4747, allocations: 8 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4747, allocations: 0 / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4747, allocations: 4 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4748, allocations: 0 / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4748, allocations: 4.031 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.475, allocations: 229.9 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.4751, allocations: 85.02 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.4751, allocations: 8 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.4752, allocations: 3.984 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4752, allocations: 11.95 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4752, allocations: 4 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.4754, allocations: 148 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4754, allocations: 0 / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002904/0.4757, allocations: 35.92 kB / 0.6057 GB, free: 12.41 MB / 426.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.001418/0.4771, allocations: 1.196 MB / 0.6068 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.4773, allocations: 67.95 kB / 0.6069 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4773, allocations: 0 / 0.6069 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.4774, allocations: 35.92 kB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4776, allocations: 27.94 kB / 0.607 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4788, allocations: 0.8618 MB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.4792, allocations: 0.716 MB / 0.6085 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.4792, allocations: 16.81 kB / 0.6085 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.4793, allocations: 35.42 kB / 0.6085 GB, free: 9.523 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4793, allocations: 0 / 0.6085 GB, free: 9.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.4983, allocations: 3.011 MB / 0.6115 GB, free: 6.648 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.4987, allocations: 210.2 kB / 0.6117 GB, free: 6.406 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.039, allocations: 0 / 0.6117 GB, free: 6.406 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat