Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001134/0.001135, allocations: 177.3 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.297/1.297, 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.0008763/0.0008763, allocations: 99.78 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.3159/0.3159, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 12 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.342, allocations: 61.91 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.4583, allocations: 89.25 MB / 0.5968 GB, free: 5.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4586, allocations: 87.91 kB / 0.5969 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.4745, allocations: 5.609 MB / 0.6024 GB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4745, allocations: 3.938 kB / 0.6024 GB, free: 208 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4746, allocations: 4 kB / 0.6024 GB, free: 204 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.0005531/0.4751, allocations: 426.8 kB / 0.6028 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4752, allocations: 12.03 kB / 0.6028 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.4752, allocations: 30.56 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.4753, allocations: 11.81 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.4757, allocations: 221.1 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4757, allocations: 7.953 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4757, allocations: 0 / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.4759, allocations: 65.61 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4759, allocations: 4 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4759, allocations: 0 / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4759, allocations: 3.984 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.476, allocations: 19.98 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.4764, allocations: 300.8 kB / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4766, allocations: 66.61 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.4766, allocations: 0 / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4768, allocations: 67.52 kB / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4768, allocations: 0 / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005832/0.4774, allocations: 173.1 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4775, allocations: 55.41 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4777, allocations: 193.5 kB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4777, allocations: 29.7 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.4778, allocations: 104.1 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.4778, allocations: 27.69 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4778, allocations: 0 / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.478, allocations: 330.8 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.478, allocations: 19.98 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.4781, allocations: 41.7 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.4782, allocations: 28.12 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4782, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.4784, allocations: 105.5 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4784, allocations: 5.562 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4784, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4785, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.4786, allocations: 23.88 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4786, allocations: 4.172 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.4786, allocations: 4.031 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4787, allocations: 7.938 kB / 0.6047 GB, free: 13.63 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.0001247/0.4788, allocations: 136.3 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.4788, allocations: 15.81 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.4791, allocations: 122.9 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4791, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4791, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4791, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.4796, allocations: 423.2 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4797, allocations: 4 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.4797, allocations: 8.375 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4797, allocations: 0 / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4797, allocations: 7.984 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.4797, allocations: 8 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4798, allocations: 3.938 kB / 0.6053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.48, allocations: 225.9 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.4801, allocations: 100.9 kB / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.4802, allocations: 0 / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.4802, allocations: 4 kB / 0.6057 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4803, allocations: 15.94 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4803, allocations: 4 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.4805, allocations: 159.2 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4805, allocations: 0 / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.4807, allocations: 31.98 kB / 0.6059 GB, free: 12.26 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.001726/0.4825, allocations: 1.19 MB / 0.607 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.4827, allocations: 63.91 kB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4827, allocations: 0 / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.4828, allocations: 39.98 kB / 0.6071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.4831, allocations: 23.94 kB / 0.6072 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4844, allocations: 0.9251 MB / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4848, allocations: 0.7082 MB / 0.6087 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.4849, allocations: 24.53 kB / 0.6088 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.485, allocations: 35.42 kB / 0.6088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.485, allocations: 0 / 0.6088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.5004, allocations: 3.151 MB / 0.6119 GB, free: 6.309 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/0.5007, allocations: 213.1 kB / 0.6121 GB, free: 6.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.212, allocations: 0 / 0.6121 GB, free: 6.066 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat