Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.002137/0.002137, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.485/1.485, allocations: 223.2 MB / 241 MB, free: 10.18 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.00089/0.0008897, allocations: 86.83 kB / 292.1 MB, free: 10.72 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.4021/0.4021, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 16 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 61.91 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4869, allocations: 89.55 MB / 0.5971 GB, free: 5.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4872, allocations: 91.88 kB / 0.5972 GB, free: 5.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.5098, allocations: 8.252 MB / 0.6052 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5098, allocations: 3.938 kB / 0.6053 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.5098, allocations: 4 kB / 0.6053 GB, free: 13.22 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.0008309/0.5107, allocations: 0.5602 MB / 0.6058 GB, free: 12.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.5107, allocations: 8.031 kB / 0.6058 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.5108, allocations: 42.55 kB / 0.6059 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.5109, allocations: 23.72 kB / 0.6059 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.5114, allocations: 299 kB / 0.6062 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5114, allocations: 4 kB / 0.6062 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.5115, allocations: 12 kB / 0.6062 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.5117, allocations: 115.2 kB / 0.6063 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5117, allocations: 0 / 0.6063 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5118, allocations: 4 kB / 0.6063 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5118, allocations: 0 / 0.6063 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.5119, allocations: 55.94 kB / 0.6063 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.5126, allocations: 496.8 kB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.513, allocations: 129.2 kB / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.513, allocations: 0 / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.5133, allocations: 121.2 kB / 0.6071 GB, free: 11.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.5133, allocations: 0 / 0.6071 GB, free: 11.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001374/0.5147, allocations: 0.5006 MB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.5147, allocations: 85.11 kB / 0.6076 GB, free: 10.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.5152, allocations: 395.6 kB / 0.608 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5153, allocations: 29.7 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5154, allocations: 152.5 kB / 0.6082 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.5155, allocations: 71 kB / 0.6082 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.5155, allocations: 4 kB / 0.6082 GB, free: 9.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5156, allocations: 346.8 kB / 0.6086 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5158, allocations: 59.97 kB / 0.6086 GB, free: 9.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5159, allocations: 88.5 kB / 0.6087 GB, free: 9.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5161, allocations: 76.08 kB / 0.6088 GB, free: 9.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5161, allocations: 0 / 0.6088 GB, free: 9.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004187/0.5165, allocations: 233.1 kB / 0.609 GB, free: 9.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5165, allocations: 11.95 kB / 0.609 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5166, allocations: 4.297 kB / 0.609 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5166, allocations: 4 kB / 0.609 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5167, allocations: 47.91 kB / 0.6091 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5167, allocations: 7.984 kB / 0.6091 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.5168, allocations: 4 kB / 0.6091 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.5169, allocations: 12 kB / 0.6091 GB, free: 9.008 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.0002124/0.5171, allocations: 174.2 kB / 0.6093 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.5172, allocations: 31.62 kB / 0.6093 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.5179, allocations: 276 kB / 0.6096 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5179, allocations: 4 kB / 0.6096 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5179, allocations: 0 / 0.6096 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5179, allocations: 0 / 0.6096 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.519, allocations: 0.7897 MB / 0.6103 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5191, allocations: 0 / 0.6103 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5192, allocations: 39.92 kB / 0.6104 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5192, allocations: 0 / 0.6104 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.5192, allocations: 8 kB / 0.6104 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5192, allocations: 0 / 0.6104 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5192, allocations: 4 kB / 0.6104 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.5198, allocations: 0.4954 MB / 0.6109 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.5199, allocations: 124.7 kB / 0.611 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.52, allocations: 12 kB / 0.611 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.5202, allocations: 11.98 kB / 0.611 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.5202, allocations: 15.92 kB / 0.611 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.5203, allocations: 19.98 kB / 0.611 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003462/0.5206, allocations: 319 kB / 0.6113 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5206, allocations: 0 / 0.6113 GB, free: 6.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000395/0.521, allocations: 71.92 kB / 0.6114 GB, free: 6.469 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.002235/0.5233, allocations: 1.804 MB / 0.6132 GB, free: 4.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.5237, allocations: 177.3 kB / 0.6133 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5237, allocations: 4 kB / 0.6134 GB, free: 4.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5239, allocations: 83.84 kB / 0.6134 GB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.5243, allocations: 53.05 kB / 0.6135 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.5275, allocations: 2.106 MB / 0.6155 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.528, allocations: 0.7914 MB / 0.6163 GB, free: 1.508 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.5282, allocations: 45.92 kB / 0.6164 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.5284, allocations: 99.39 kB / 0.6165 GB, free: 1.371 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5284, allocations: 3.938 kB / 0.6165 GB, free: 1.367 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.5486, allocations: 6.042 MB / 0.6224 GB, free: 11.48 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.5489, allocations: 226.2 kB / 0.6226 GB, free: 11.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.595, allocations: 4 kB / 0.6226 GB, free: 11.22 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat