Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001072/0.001072, allocations: 176.4 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.286/1.286, allocations: 223.2 MB / 241 MB, free: 11.9 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.0009708/0.0009708, allocations: 103.5 kB / 292.1 MB, free: 10.92 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.3693/0.3693, allocations: 44.21 MB / 387.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 61.91 MB / 0.5097 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.473, allocations: 89.29 MB / 0.5969 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.4734, allocations: 87.91 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.4893, allocations: 5.617 MB / 0.6024 GB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4893, allocations: 4 kB / 0.6024 GB, free: 120 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4894, allocations: 7.938 kB / 0.6024 GB, free: 112 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.0005309/0.4899, allocations: 422.8 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.49, allocations: 12.03 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.49, allocations: 30.56 kB / 0.6029 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.4901, allocations: 11.81 kB / 0.6029 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.4904, allocations: 220.2 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4904, allocations: 11.95 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.4904, allocations: 0 / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.4906, allocations: 53.67 kB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4906, allocations: 0 / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4906, allocations: 0 / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4906, allocations: 7.984 kB / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.708e-05/0.4907, allocations: 27.92 kB / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.4911, allocations: 292.8 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.4913, allocations: 62.69 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4913, allocations: 3.984 kB / 0.6035 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.4915, allocations: 71.45 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4915, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005473/0.4921, allocations: 185 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4921, allocations: 59.41 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4923, allocations: 182.5 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.4923, allocations: 29.7 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4924, allocations: 104.1 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.4924, allocations: 19.66 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.4925, allocations: 4 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4926, allocations: 327 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.4927, allocations: 23.98 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.4927, allocations: 37.7 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.4928, allocations: 20 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4928, allocations: 0 / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.493, allocations: 105.5 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.493, allocations: 4 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.493, allocations: 0 / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4931, allocations: 4 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.4932, allocations: 23.95 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4932, allocations: 0 / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.4932, allocations: 4 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4932, allocations: 8 kB / 0.6047 GB, free: 13.55 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 0.00011/0.4934, allocations: 132.2 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.4934, allocations: 15.81 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.4936, allocations: 119 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4937, allocations: 0 / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4937, allocations: 4 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4937, allocations: 288 / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4942, allocations: 419.2 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4942, allocations: 0 / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.4942, allocations: 11.94 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4942, allocations: 0 / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4943, allocations: 8 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4943, allocations: 3.984 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4943, allocations: 4.031 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4945, allocations: 225.8 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.4947, allocations: 97 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.4947, allocations: 384 / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.4948, allocations: 4 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4948, allocations: 27.88 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.4948, allocations: 4 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.495, allocations: 148.9 kB / 0.6059 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.495, allocations: 0 / 0.6059 GB, free: 12.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.4953, allocations: 35.94 kB / 0.6059 GB, free: 12.2 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.001727/0.497, allocations: 1.191 MB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.4972, allocations: 71.89 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4972, allocations: 0 / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.4973, allocations: 31.98 kB / 0.6072 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4976, allocations: 27.94 kB / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.499, allocations: 0.8936 MB / 0.6081 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4994, allocations: 0.7121 MB / 0.6088 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.4994, allocations: 12.55 kB / 0.6088 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.4995, allocations: 39.42 kB / 0.6088 GB, free: 9.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4995, allocations: 0 / 0.6088 GB, free: 9.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.5141, allocations: 3.076 MB / 0.6118 GB, free: 6.359 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.5144, allocations: 214.3 kB / 0.612 GB, free: 6.117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.162, allocations: 3.625 kB / 0.612 GB, free: 6.117 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat