Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.002084/0.002084, allocations: 185.1 kB / 17.06 MB, free: 5.07 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.382/1.382, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008585/0.0008585, allocations: 91.14 kB / 292.1 MB, free: 10.89 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.3542/0.3542, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 61.9 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.467, allocations: 89.55 MB / 0.5971 GB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.4674, allocations: 87.91 kB / 0.5972 GB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02243/0.4899, allocations: 8.256 MB / 0.6052 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4899, allocations: 0 / 0.6052 GB, free: 13.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.4899, allocations: 7.938 kB / 0.6053 GB, free: 13.19 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007486/0.4907, allocations: 0.5602 MB / 0.6058 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4907, allocations: 8.031 kB / 0.6058 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.4908, allocations: 42.55 kB / 0.6058 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.4909, allocations: 23.72 kB / 0.6059 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.4914, allocations: 291 kB / 0.6062 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4914, allocations: 7.984 kB / 0.6062 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.4914, allocations: 8 kB / 0.6062 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.4917, allocations: 119.2 kB / 0.6063 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4917, allocations: 4 kB / 0.6063 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4917, allocations: 0 / 0.6063 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4917, allocations: 0 / 0.6063 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4919, allocations: 55.94 kB / 0.6063 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.4925, allocations: 492.7 kB / 0.6068 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.4929, allocations: 133.1 kB / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.4929, allocations: 0 / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.4932, allocations: 127.1 kB / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4932, allocations: 0 / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001271/0.4945, allocations: 0.5044 MB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4945, allocations: 81.11 kB / 0.6076 GB, free: 10.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.495, allocations: 399.6 kB / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.495, allocations: 29.7 kB / 0.608 GB, free: 10.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4951, allocations: 152.5 kB / 0.6082 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.4952, allocations: 71.02 kB / 0.6082 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.4952, allocations: 0 / 0.6082 GB, free: 9.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4954, allocations: 346.8 kB / 0.6086 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4955, allocations: 59.97 kB / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4956, allocations: 92.5 kB / 0.6087 GB, free: 9.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4958, allocations: 67.92 kB / 0.6088 GB, free: 9.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4958, allocations: 0 / 0.6088 GB, free: 9.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004128/0.4962, allocations: 237.1 kB / 0.609 GB, free: 9.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4962, allocations: 10.14 kB / 0.609 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4963, allocations: 0 / 0.609 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4963, allocations: 8.062 kB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4964, allocations: 43.92 kB / 0.6091 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4964, allocations: 4.234 kB / 0.6091 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.4965, allocations: 11.98 kB / 0.6091 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.4966, allocations: 8 kB / 0.6091 GB, free: 8.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000159/0.4967, allocations: 174.2 kB / 0.6093 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4968, allocations: 31.62 kB / 0.6093 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.4973, allocations: 280.6 kB / 0.6096 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4973, allocations: 4 kB / 0.6096 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4973, allocations: 0 / 0.6096 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4973, allocations: 4 kB / 0.6096 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4984, allocations: 0.7897 MB / 0.6103 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4984, allocations: 0 / 0.6103 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.4985, allocations: 39.92 kB / 0.6104 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4985, allocations: 4 kB / 0.6104 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4985, allocations: 4 kB / 0.6104 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4985, allocations: 0 / 0.6104 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4985, allocations: 4 kB / 0.6104 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.4991, allocations: 0.4972 MB / 0.6109 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4992, allocations: 124.7 kB / 0.611 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4993, allocations: 12 kB / 0.611 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.4994, allocations: 11.98 kB / 0.611 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.4995, allocations: 19.92 kB / 0.611 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.4995, allocations: 15.98 kB / 0.611 GB, free: 6.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4999, allocations: 319 kB / 0.6114 GB, free: 6.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4999, allocations: 3.938 kB / 0.6114 GB, free: 6.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.5003, allocations: 71.92 kB / 0.6114 GB, free: 6.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002125/0.5024, allocations: 1.791 MB / 0.6132 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.5028, allocations: 183.5 kB / 0.6134 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5028, allocations: 0 / 0.6134 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.503, allocations: 83.84 kB / 0.6134 GB, free: 4.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5035, allocations: 53.05 kB / 0.6135 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.506, allocations: 2.106 MB / 0.6155 GB, free: 2.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.5064, allocations: 0.7875 MB / 0.6163 GB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.5065, allocations: 49.86 kB / 0.6164 GB, free: 1.434 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5067, allocations: 99.39 kB / 0.6164 GB, free: 1.34 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5067, allocations: 3.938 kB / 0.6165 GB, free: 1.336 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.525, allocations: 6.05 MB / 0.6224 GB, free: 11.45 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.5253, allocations: 222.1 kB / 0.6226 GB, free: 11.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.614, allocations: 0 / 0.6226 GB, free: 11.19 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat