Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001111/0.001111, 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.386/1.386, 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.0009586/0.0009588, allocations: 92 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.3565/0.3565, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004177, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4607, allocations: 89.28 MB / 0.5968 GB, free: 5.828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.461, allocations: 87.91 kB / 0.5969 GB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.4764, allocations: 5.714 MB / 0.6025 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4765, allocations: 4 kB / 0.6025 GB, free: 32 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.4765, allocations: 7.984 kB / 0.6025 GB, free: 24 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.0006725/0.4772, allocations: 422.8 kB / 0.6029 GB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.4773, allocations: 12.03 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.4773, allocations: 34.56 kB / 0.603 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.4774, allocations: 11.81 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.4778, allocations: 217.1 kB / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4778, allocations: 11.94 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.4778, allocations: 4 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.478, allocations: 57.61 kB / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.478, allocations: 0 / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.478, allocations: 0 / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4781, allocations: 0 / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.4781, allocations: 23.92 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.4786, allocations: 300.8 kB / 0.6036 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4787, allocations: 66.61 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4788, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.4789, allocations: 71.52 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4789, allocations: 0 / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.4795, allocations: 173.1 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4795, allocations: 63.41 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.4797, allocations: 189.5 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4797, allocations: 29.7 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.4798, allocations: 100.1 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4798, allocations: 27.69 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.4799, allocations: 8 kB / 0.6043 GB, free: 14.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.48, allocations: 323 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.4801, allocations: 20 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.4801, allocations: 45.64 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.4802, allocations: 23.98 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4802, allocations: 0 / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.4804, allocations: 105.5 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4804, allocations: 5.406 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4805, allocations: 0 / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.4805, allocations: 3.938 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.4806, allocations: 23.97 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4806, allocations: 0 / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.4806, allocations: 7.984 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4807, allocations: 0 / 0.6048 GB, free: 13.46 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.0001121/0.4808, allocations: 132.4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.4808, allocations: 23.78 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.4811, allocations: 122.9 kB / 0.6051 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4811, allocations: 0 / 0.6051 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4811, allocations: 4.281 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4811, allocations: 0 / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.4816, allocations: 423.2 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4816, allocations: 7.938 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.4817, allocations: 8 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4817, allocations: 0 / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4817, allocations: 0 / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4817, allocations: 7.938 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4817, allocations: 4.031 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.482, allocations: 229.8 kB / 0.6057 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.4821, allocations: 93.02 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.4821, allocations: 3.984 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.4822, allocations: 8.375 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.4822, allocations: 15.94 kB / 0.6058 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.4823, allocations: 4 kB / 0.6058 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.4824, allocations: 155.2 kB / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4824, allocations: 0 / 0.606 GB, free: 12.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.4827, allocations: 31.98 kB / 0.606 GB, free: 12.09 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.001442/0.4841, allocations: 1.194 MB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.4843, allocations: 67.91 kB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4843, allocations: 0 / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.4844, allocations: 35.92 kB / 0.6073 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.4847, allocations: 23.94 kB / 0.6073 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4859, allocations: 0.9251 MB / 0.6082 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.4862, allocations: 0.7121 MB / 0.6089 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.4862, allocations: 16.55 kB / 0.6089 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.4863, allocations: 39.42 kB / 0.6089 GB, free: 9.152 MB / 426.7 MB Notification: Performance of SimCode: time 2.966e-06/0.4863, allocations: 0 / 0.6089 GB, free: 9.152 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.5, allocations: 3.145 MB / 0.612 GB, free: 6.141 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5002, allocations: 219.9 kB / 0.6122 GB, free: 5.898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.177, allocations: 4 kB / 0.6122 GB, free: 5.895 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat