Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.001547/0.001547, 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.827/1.827, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001195/0.001194, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2301/0.2301, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 15.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4838, allocations: 87.68 MB / 0.5645 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4841, allocations: 76.03 kB / 0.5646 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.4987, allocations: 5.33 MB / 0.5698 GB, free: 7.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4988, allocations: 0 / 0.5698 GB, free: 7.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4988, allocations: 4 kB / 0.5698 GB, free: 7.551 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.0006154/0.4994, allocations: 422.7 kB / 0.5702 GB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4995, allocations: 8.031 kB / 0.5702 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.4996, allocations: 38.5 kB / 0.5702 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.4996, allocations: 15.81 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4999, allocations: 222.5 kB / 0.5704 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.4999, allocations: 0 / 0.5704 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.4999, allocations: 7.75 kB / 0.5704 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.5001, allocations: 53.17 kB / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5001, allocations: 0 / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5001, allocations: 0 / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.5001, allocations: 11.94 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.5002, allocations: 18.92 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.5006, allocations: 298.6 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.5008, allocations: 60.67 kB / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5008, allocations: 0 / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.501, allocations: 74.3 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.501, allocations: 4 kB / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.5015, allocations: 180.4 kB / 0.5711 GB, free: 6.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.5016, allocations: 55.41 kB / 0.5712 GB, free: 6.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.5018, allocations: 179.4 kB / 0.5713 GB, free: 5.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5018, allocations: 25.7 kB / 0.5714 GB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.5019, allocations: 106.8 kB / 0.5715 GB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5019, allocations: 27.14 kB / 0.5715 GB, free: 5.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.502, allocations: 0 / 0.5715 GB, free: 5.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5021, allocations: 330.1 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.5022, allocations: 18.8 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.5022, allocations: 36.64 kB / 0.5719 GB, free: 5.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.5023, allocations: 27.25 kB / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5023, allocations: 192 / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.5025, allocations: 103.5 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5025, allocations: 11.97 kB / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5026, allocations: 0 / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5026, allocations: 4 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.5027, allocations: 15.98 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.5027, allocations: 3.953 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.5028, allocations: 7.938 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5028, allocations: 2.812 kB / 0.572 GB, free: 5.191 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.0001062/0.5029, allocations: 129.7 kB / 0.5722 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.5029, allocations: 11.81 kB / 0.5722 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.5032, allocations: 123.6 kB / 0.5723 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5032, allocations: 4 kB / 0.5723 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5032, allocations: 0 / 0.5723 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5032, allocations: 3.953 kB / 0.5723 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.5037, allocations: 411.7 kB / 0.5727 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5037, allocations: 4 kB / 0.5727 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.5038, allocations: 8.625 kB / 0.5727 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5038, allocations: 7.969 kB / 0.5727 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5038, allocations: 5 kB / 0.5727 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.5038, allocations: 8.312 kB / 0.5727 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5038, allocations: 0 / 0.5727 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.5041, allocations: 219.5 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.5042, allocations: 103 kB / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.5043, allocations: 9.578 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.5043, allocations: 4.875 kB / 0.573 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.5044, allocations: 8.734 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5044, allocations: 1.625 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.5045, allocations: 149.9 kB / 0.5732 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.623e-06/0.5045, allocations: 0 / 0.5732 GB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.5048, allocations: 39.31 kB / 0.5732 GB, free: 3.961 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.001454/0.5063, allocations: 1.199 MB / 0.5744 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.5065, allocations: 65.7 kB / 0.5745 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5065, allocations: 3.625 kB / 0.5745 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.5065, allocations: 30.86 kB / 0.5745 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5068, allocations: 19.23 kB / 0.5745 GB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.5083, allocations: 0.8984 MB / 0.5754 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.5086, allocations: 0.7115 MB / 0.5761 GB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.5086, allocations: 12.67 kB / 0.5761 GB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.5087, allocations: 39.92 kB / 0.5761 GB, free: 1.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5087, allocations: 0 / 0.5761 GB, free: 1.094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.5225, allocations: 3.084 MB / 0.5791 GB, free: 14.03 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.5227, allocations: 209.8 kB / 0.5793 GB, free: 13.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.078, allocations: 0 / 0.5793 GB, free: 13.79 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat