Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001125/0.001125, 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.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.001017/0.001016, allocations: 100.4 kB / 292.1 MB, free: 10.92 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.4607/0.4607, allocations: 44.23 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004687, allocations: 12 kB / 460 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.366, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4865, allocations: 89.26 MB / 0.5968 GB, free: 5.898 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4868, allocations: 91.84 kB / 0.5969 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.5027, allocations: 5.518 MB / 0.6023 GB, free: 308 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5027, allocations: 0 / 0.6023 GB, free: 308 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5028, allocations: 4 kB / 0.6023 GB, free: 304 kB / 410.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.0006363/0.5034, allocations: 426.8 kB / 0.6027 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5035, allocations: 8.031 kB / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.5035, allocations: 38.5 kB / 0.6027 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.5036, allocations: 11.81 kB / 0.6028 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.504, allocations: 216.2 kB / 0.603 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.504, allocations: 7.953 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.504, allocations: 4 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.5042, allocations: 61.67 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5042, allocations: 0 / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5042, allocations: 0 / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5042, allocations: 0 / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.5043, allocations: 23.92 kB / 0.6031 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.5047, allocations: 296.9 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.5049, allocations: 58.67 kB / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5049, allocations: 0 / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.5051, allocations: 71.45 kB / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5051, allocations: 0 / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.5056, allocations: 185 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5057, allocations: 59.34 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5059, allocations: 186.5 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.5059, allocations: 25.7 kB / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.506, allocations: 108.1 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.506, allocations: 27.64 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.506, allocations: 0 / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5061, allocations: 330.8 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.5062, allocations: 15.98 kB / 0.6044 GB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.5063, allocations: 37.7 kB / 0.6044 GB, free: 13.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.5064, allocations: 28.19 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5064, allocations: 0 / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.5065, allocations: 101.5 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5066, allocations: 4 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5066, allocations: 0 / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5066, allocations: 0 / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.5067, allocations: 23.92 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5067, allocations: 0 / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.5068, allocations: 15.97 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.5068, allocations: 0 / 0.6046 GB, free: 13.73 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 (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.0001067/0.5069, allocations: 134.3 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.5069, allocations: 11.81 kB / 0.6047 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.5072, allocations: 119 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5072, allocations: 4 kB / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5072, allocations: 0 / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5072, allocations: 0 / 0.6048 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.5077, allocations: 419.2 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5078, allocations: 4 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.5078, allocations: 8.375 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5078, allocations: 0 / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5078, allocations: 3.984 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5078, allocations: 8.281 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5078, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.5081, allocations: 237.8 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.5082, allocations: 93 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5082, allocations: 0 / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.5083, allocations: 8 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5083, allocations: 15.88 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5083, allocations: 0 / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5085, allocations: 156.9 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5085, allocations: 0 / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.5087, allocations: 35.94 kB / 0.6058 GB, free: 12.38 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: 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.001506/0.5103, allocations: 1.193 MB / 0.6069 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5104, allocations: 59.91 kB / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5105, allocations: 0 / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.5105, allocations: 36.05 kB / 0.607 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.5108, allocations: 34.11 kB / 0.607 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.5121, allocations: 0.8921 MB / 0.6079 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.5124, allocations: 0.7121 MB / 0.6086 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.5125, allocations: 16.56 kB / 0.6086 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.5126, allocations: 35.42 kB / 0.6087 GB, free: 9.492 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5126, allocations: 0 / 0.6087 GB, free: 9.492 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.5283, allocations: 3.082 MB / 0.6117 GB, free: 6.543 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.5285, allocations: 213.8 kB / 0.6119 GB, free: 6.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.111, allocations: 0 / 0.6119 GB, free: 6.305 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat