Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.00174/0.00174, allocations: 177 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.396/1.396, 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.0008644/0.0008645, allocations: 95.66 kB / 292.1 MB, free: 10.93 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.3517/0.3517, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4551, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.5836, allocations: 89.14 MB / 0.5967 GB, free: 5.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.5839, allocations: 83.86 kB / 0.5968 GB, free: 5.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.6018, allocations: 6.714 MB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.6019, allocations: 0 / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.602, allocations: 12 kB / 0.6033 GB, free: 15.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001188/0.6032, allocations: 0.7269 MB / 0.6041 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.6032, allocations: 12.03 kB / 0.6041 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.6033, allocations: 30.56 kB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.6034, allocations: 47.44 kB / 0.6041 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.6043, allocations: 487 kB / 0.6046 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6043, allocations: 4 kB / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.6043, allocations: 0 / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.6046, allocations: 95.3 kB / 0.6047 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6046, allocations: 0 / 0.6047 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6046, allocations: 0 / 0.6047 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6046, allocations: 0 / 0.6047 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.6048, allocations: 43.95 kB / 0.6047 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.6053, allocations: 382.4 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.6056, allocations: 113.2 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.6057, allocations: 4 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.6059, allocations: 113 kB / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.606, allocations: 0 / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005295/0.6065, allocations: 208.9 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.6066, allocations: 81.11 kB / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.6079, allocations: 0.9433 MB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.608, allocations: 29.7 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.6082, allocations: 228.1 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.6082, allocations: 23.72 kB / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.6082, allocations: 8 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.6085, allocations: 370.8 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.6086, allocations: 23.98 kB / 0.6072 GB, free: 10.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.6087, allocations: 60.45 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.6088, allocations: 39.92 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6088, allocations: 4 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000317/0.6091, allocations: 176.9 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6092, allocations: 8 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6092, allocations: 0 / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.6092, allocations: 0 / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6093, allocations: 27.92 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.6094, allocations: 0 / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.6095, allocations: 15.84 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.6095, allocations: 12.06 kB / 0.6075 GB, free: 10.63 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002468/0.6098, allocations: 218.9 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.6098, allocations: 55.3 kB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.6103, allocations: 209.6 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6103, allocations: 0 / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6103, allocations: 0 / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6103, allocations: 4 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.6108, allocations: 385.3 kB / 0.6083 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6108, allocations: 4 kB / 0.6083 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.6108, allocations: 8 kB / 0.6083 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6108, allocations: 3.953 kB / 0.6083 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.6109, allocations: 15.92 kB / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6109, allocations: 0 / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6109, allocations: 0 / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.6113, allocations: 230.9 kB / 0.6086 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.6118, allocations: 204.2 kB / 0.6088 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.6119, allocations: 7.984 kB / 0.6088 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.612, allocations: 8 kB / 0.6088 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.6121, allocations: 11.98 kB / 0.6088 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6121, allocations: 4 kB / 0.6088 GB, free: 9.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009641/0.6131, allocations: 0.7526 MB / 0.6095 GB, free: 8.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6131, allocations: 0 / 0.6095 GB, free: 8.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.6134, allocations: 84 kB / 0.6096 GB, free: 8.348 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001779/0.6152, allocations: 1.144 MB / 0.6107 GB, free: 7.332 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.6155, allocations: 91.89 kB / 0.6108 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6156, allocations: 3.938 kB / 0.6108 GB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.6157, allocations: 47.92 kB / 0.6109 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.6161, allocations: 67.75 kB / 0.6109 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.6205, allocations: 3.368 MB / 0.6142 GB, free: 3.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.6212, allocations: 0.8585 MB / 0.6151 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002504/0.6214, allocations: 83.47 kB / 0.6152 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.6217, allocations: 163.4 kB / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6217, allocations: 0 / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6477, allocations: 9.218 MB / 0.6243 GB, free: 9.465 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.648, allocations: 219 kB / 0.6245 GB, free: 9.223 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.881, allocations: 3.938 kB / 0.6245 GB, free: 9.219 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat