Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 99.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5592/0.5592, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006389, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1446, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6585, allocations: 87.55 MB / 0.5643 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/0.659, allocations: 80.45 kB / 0.5644 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03383/0.6929, allocations: 5.541 MB / 0.5698 GB, free: 9.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6929, allocations: 0 / 0.5698 GB, free: 9.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.693, allocations: 7.938 kB / 0.5698 GB, free: 9.352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008642/0.6939, allocations: 446.9 kB / 0.5702 GB, free: 8.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6939, allocations: 8.031 kB / 0.5703 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.694, allocations: 34.56 kB / 0.5703 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.6941, allocations: 15.25 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.6947, allocations: 224.9 kB / 0.5705 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.6947, allocations: 8 kB / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6948, allocations: 0 / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.695, allocations: 53.67 kB / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.695, allocations: 0 / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.695, allocations: 0 / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6951, allocations: 0 / 0.5706 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.6952, allocations: 20.95 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.6956, allocations: 202.5 kB / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.6959, allocations: 46.62 kB / 0.5708 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.6959, allocations: 8.078 kB / 0.5708 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.6962, allocations: 67.39 kB / 0.5709 GB, free: 8.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.445e-06/0.6962, allocations: 3.938 kB / 0.5709 GB, free: 8.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.6967, allocations: 101.5 kB / 0.571 GB, free: 7.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.6968, allocations: 55.34 kB / 0.5711 GB, free: 7.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.6974, allocations: 241.7 kB / 0.5713 GB, free: 7.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.6975, allocations: 29.7 kB / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6976, allocations: 166.6 kB / 0.5715 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.6977, allocations: 7.906 kB / 0.5715 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.6977, allocations: 0 / 0.5715 GB, free: 7.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6979, allocations: 318.8 kB / 0.5718 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.698, allocations: 12 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.6982, allocations: 33.69 kB / 0.5718 GB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.6983, allocations: 31.88 kB / 0.5719 GB, free: 7.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6983, allocations: 0 / 0.5719 GB, free: 7.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003394/0.6987, allocations: 73.59 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.6987, allocations: 4 kB / 0.5719 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6988, allocations: 4 kB / 0.5719 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6988, allocations: 0 / 0.5719 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6989, allocations: 15.92 kB / 0.572 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.6989, allocations: 0 / 0.572 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6991, allocations: 4 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.6991, allocations: 12.03 kB / 0.572 GB, free: 6.934 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0002246/0.6994, allocations: 133.8 kB / 0.5721 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.6994, allocations: 15.81 kB / 0.5721 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.6999, allocations: 98.66 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6999, allocations: 4 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7, allocations: 7.875 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7, allocations: 0 / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.7003, allocations: 201.5 kB / 0.5724 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7003, allocations: 7.953 kB / 0.5724 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.7004, allocations: 11.98 kB / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7004, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7005, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.7005, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7005, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.7009, allocations: 117.3 kB / 0.5725 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.701, allocations: 108.9 kB / 0.5726 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.7011, allocations: 8 kB / 0.5727 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7012, allocations: 4 kB / 0.5727 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.7013, allocations: 11.94 kB / 0.5727 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.7013, allocations: 3.984 kB / 0.5727 GB, free: 6.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004145/0.7018, allocations: 196.2 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7018, allocations: 0 / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005508/0.7023, allocations: 31.98 kB / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002408/0.7048, allocations: 0.9739 MB / 0.5738 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.7052, allocations: 39.92 kB / 0.5739 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7052, allocations: 0 / 0.5739 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.7054, allocations: 27.98 kB / 0.5739 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.7058, allocations: 21.41 kB / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.7085, allocations: 1.012 MB / 0.5749 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.7092, allocations: 0.716 MB / 0.5756 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.7094, allocations: 39.42 kB / 0.5756 GB, free: 3.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7094, allocations: 0 / 0.5756 GB, free: 3.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/3.387, allocations: 2.6 MB / 0.5782 GB, free: 480 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat