Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001327/0.001327, 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.411/1.411, 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.0009025/0.0009025, allocations: 99.06 kB / 292.1 MB, free: 10.95 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.3768/0.3768, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003932, allocations: 11.98 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4406, allocations: 89.4 MB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4408, allocations: 95.89 kB / 0.597 GB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.458, allocations: 6.371 MB / 0.6033 GB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4581, allocations: 0 / 0.6033 GB, free: 15.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4581, allocations: 4 kB / 0.6033 GB, free: 15.28 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006027/0.4587, allocations: 470.4 kB / 0.6037 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4588, allocations: 12.03 kB / 0.6037 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.4588, allocations: 38.55 kB / 0.6038 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.4589, allocations: 11.91 kB / 0.6038 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4592, allocations: 218.8 kB / 0.604 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4593, allocations: 15.94 kB / 0.604 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.4593, allocations: 4 kB / 0.604 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4595, allocations: 81.53 kB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4595, allocations: 0 / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4595, allocations: 4 kB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4595, allocations: 0 / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.4597, allocations: 47.84 kB / 0.6041 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.4601, allocations: 344.6 kB / 0.6045 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4604, allocations: 82.48 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4604, allocations: 4 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.4606, allocations: 79.62 kB / 0.6046 GB, free: 13.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.4606, allocations: 0 / 0.6046 GB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008464/0.4615, allocations: 313 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4615, allocations: 59.36 kB / 0.605 GB, free: 13.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4617, allocations: 229.6 kB / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4618, allocations: 29.7 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.4618, allocations: 120.1 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4619, allocations: 39.44 kB / 0.6054 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.4619, allocations: 4 kB / 0.6054 GB, free: 12.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.462, allocations: 326.8 kB / 0.6057 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.4621, allocations: 39.98 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.4622, allocations: 67.59 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.4623, allocations: 44 kB / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4623, allocations: 112 / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002609/0.4626, allocations: 171.7 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4626, allocations: 5.562 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4626, allocations: 0 / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4626, allocations: 7.938 kB / 0.606 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.4627, allocations: 27.98 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4627, allocations: 4.031 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.4628, allocations: 11.95 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4628, allocations: 4 kB / 0.6061 GB, free: 12.19 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 (16): * Single equations (assignments): 16 * 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.0001168/0.4629, allocations: 142.3 kB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.463, allocations: 23.73 kB / 0.6062 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.4634, allocations: 191.1 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4634, allocations: 4 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4634, allocations: 4 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4634, allocations: 0 / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.4641, allocations: 0.535 MB / 0.6069 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4641, allocations: 4 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.4642, allocations: 16 kB / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4642, allocations: 4 kB / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4642, allocations: 16 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4643, allocations: 7.984 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4643, allocations: 0 / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.4646, allocations: 298.3 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.4647, allocations: 104.9 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4647, allocations: 4 kB / 0.6074 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.4648, allocations: 4 kB / 0.6074 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4649, allocations: 15.97 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4649, allocations: 4 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.4651, allocations: 188.8 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4651, allocations: 0 / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.4654, allocations: 51.92 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.00171/0.4671, allocations: 1.39 MB / 0.609 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.4673, allocations: 115.4 kB / 0.6091 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4674, allocations: 0 / 0.6091 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.4675, allocations: 51.92 kB / 0.6091 GB, free: 9.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4677, allocations: 32.16 kB / 0.6092 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4692, allocations: 1.17 MB / 0.6103 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4694, allocations: 0.7282 MB / 0.611 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.4695, allocations: 37.39 kB / 0.611 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.4696, allocations: 55.41 kB / 0.6111 GB, free: 6.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4696, allocations: 0 / 0.6111 GB, free: 6.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.4838, allocations: 3.973 MB / 0.615 GB, free: 3.148 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.4841, allocations: 205.1 kB / 0.6152 GB, free: 2.914 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.095, allocations: 0 / 0.6152 GB, free: 2.914 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat