Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",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.002278/0.002277, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001167/0.001166, allocations: 96.36 kB / 270.9 MB, free: 8.391 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.5193/0.5193, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 16 kB / 431.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5834, allocations: 87.67 MB / 0.5644 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5837, allocations: 79.95 kB / 0.5645 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02332/0.6071, allocations: 5.25 MB / 0.5696 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6071, allocations: 4 kB / 0.5697 GB, free: 9.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.6072, allocations: 4 kB / 0.5697 GB, free: 9.734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006916/0.6079, allocations: 422.4 kB / 0.5701 GB, free: 9.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6079, allocations: 8.031 kB / 0.5701 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.608, allocations: 35.06 kB / 0.5701 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.608, allocations: 11.34 kB / 0.5701 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.6084, allocations: 216.2 kB / 0.5703 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.6084, allocations: 0 / 0.5703 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.6085, allocations: 8 kB / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.6087, allocations: 61.66 kB / 0.5704 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6087, allocations: 3.938 kB / 0.5704 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6087, allocations: 0 / 0.5704 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.6087, allocations: 1.031 kB / 0.5704 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.6089, allocations: 19.98 kB / 0.5704 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.6093, allocations: 296.8 kB / 0.5707 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.6096, allocations: 58.67 kB / 0.5707 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6096, allocations: 0 / 0.5707 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.6098, allocations: 67.52 kB / 0.5708 GB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6099, allocations: 0 / 0.5708 GB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007755/0.6106, allocations: 173.2 kB / 0.571 GB, free: 8.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6107, allocations: 59.41 kB / 0.571 GB, free: 8.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.611, allocations: 161.3 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.611, allocations: 25.7 kB / 0.5712 GB, free: 7.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.6111, allocations: 170.4 kB / 0.5714 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.6112, allocations: 23.69 kB / 0.5714 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.6112, allocations: 8 kB / 0.5714 GB, free: 7.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6113, allocations: 310.8 kB / 0.5717 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6114, allocations: 23.98 kB / 0.5717 GB, free: 7.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.6116, allocations: 37.7 kB / 0.5718 GB, free: 7.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.6117, allocations: 23.98 kB / 0.5718 GB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6117, allocations: 0 / 0.5718 GB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002944/0.612, allocations: 93.62 kB / 0.5719 GB, free: 7.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6121, allocations: 4 kB / 0.5719 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6121, allocations: 4 kB / 0.5719 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6121, allocations: 0 / 0.5719 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.6122, allocations: 16.17 kB / 0.5719 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.6123, allocations: 7.984 kB / 0.5719 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.6123, allocations: 7.938 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6124, allocations: 4 kB / 0.5719 GB, free: 7.203 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 (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.0001547/0.6125, allocations: 133.8 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.6126, allocations: 7.906 kB / 0.572 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.613, allocations: 118.3 kB / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.613, allocations: 0 / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.613, allocations: 4 kB / 0.5722 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.613, allocations: 3.953 kB / 0.5722 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.6137, allocations: 419.3 kB / 0.5726 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6138, allocations: 3.938 kB / 0.5726 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.6138, allocations: 12.36 kB / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.6139, allocations: 0 / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6139, allocations: 8 kB / 0.5726 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.6139, allocations: 3.953 kB / 0.5726 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6139, allocations: 4.031 kB / 0.5726 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.6143, allocations: 221.9 kB / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.6144, allocations: 89.02 kB / 0.5729 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.6144, allocations: 7.953 kB / 0.5729 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6146, allocations: 11.98 kB / 0.5729 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.6146, allocations: 4 kB / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.6146, allocations: 4 kB / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.6148, allocations: 137.7 kB / 0.5731 GB, free: 5.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6148, allocations: 0 / 0.5731 GB, free: 5.914 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.6152, allocations: 28 kB / 0.5731 GB, free: 5.887 MB / 394.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.001989/0.6172, allocations: 1.199 MB / 0.5743 GB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.6175, allocations: 63.97 kB / 0.5743 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6175, allocations: 0 / 0.5743 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6176, allocations: 35.92 kB / 0.5743 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.618, allocations: 21.2 kB / 0.5744 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.6197, allocations: 0.871 MB / 0.5752 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.6201, allocations: 0.7118 MB / 0.5759 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6202, allocations: 31.42 kB / 0.5759 GB, free: 2.941 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6202, allocations: 0 / 0.5759 GB, free: 2.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/3.333, allocations: 2.4 MB / 0.5783 GB, free: 0.5508 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat