Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",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.002235/0.002235, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.193/2.193, 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.001157/0.001156, allocations: 96.41 kB / 270.9 MB, free: 8.367 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.5258/0.5258, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006525, allocations: 19.98 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1384, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5671/0.7056, allocations: 87.7 MB / 0.5645 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.7059, allocations: 75.97 kB / 0.5645 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02619/0.7322, allocations: 5.696 MB / 0.5701 GB, free: 9.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7322, allocations: 4.547 kB / 0.5701 GB, free: 9.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.7322, allocations: 4.656 kB / 0.5701 GB, free: 9.094 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.0007623/0.733, allocations: 450.1 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7331, allocations: 12.03 kB / 0.5706 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.7331, allocations: 34.56 kB / 0.5706 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.7332, allocations: 19.25 kB / 0.5706 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.7337, allocations: 224.9 kB / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.7337, allocations: 8 kB / 0.5708 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.7337, allocations: 3.375 kB / 0.5708 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.7339, allocations: 54.55 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.734, allocations: 0 / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.734, allocations: 4 kB / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.734, allocations: 8.906 kB / 0.5709 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.7342, allocations: 23.98 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.7347, allocations: 304.8 kB / 0.5712 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.735, allocations: 66.67 kB / 0.5713 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.7351, allocations: 3.938 kB / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.7353, allocations: 67.52 kB / 0.5713 GB, free: 7.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.7353, allocations: 0 / 0.5713 GB, free: 7.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000843/0.7362, allocations: 193 kB / 0.5715 GB, free: 7.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.7362, allocations: 51.41 kB / 0.5716 GB, free: 7.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.7367, allocations: 237.7 kB / 0.5718 GB, free: 7.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.7367, allocations: 29.69 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.7369, allocations: 170.6 kB / 0.572 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.7369, allocations: 27.64 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.7369, allocations: 0 / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7371, allocations: 318.8 kB / 0.5723 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7372, allocations: 20 kB / 0.5723 GB, free: 6.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.7373, allocations: 33.7 kB / 0.5724 GB, free: 6.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.7375, allocations: 31.92 kB / 0.5724 GB, free: 6.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7375, allocations: 4 kB / 0.5724 GB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002926/0.7378, allocations: 81.69 kB / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.7378, allocations: 8 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7378, allocations: 3.984 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7379, allocations: 0 / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.7381, allocations: 23.97 kB / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.7381, allocations: 7.953 kB / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.7382, allocations: 0 / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.7382, allocations: 8.734 kB / 0.5725 GB, free: 6.395 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.0001726/0.7384, allocations: 141.8 kB / 0.5727 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.7385, allocations: 15.81 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.7389, allocations: 119.2 kB / 0.5728 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.7389, allocations: 8.094 kB / 0.5728 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7389, allocations: 3.938 kB / 0.5728 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.7389, allocations: 3.953 kB / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.7398, allocations: 435.2 kB / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7398, allocations: 0 / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.7399, allocations: 12 kB / 0.5732 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.7399, allocations: 7.938 kB / 0.5733 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.7399, allocations: 3.984 kB / 0.5733 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.7399, allocations: 7.984 kB / 0.5733 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.7399, allocations: 4 kB / 0.5733 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.7404, allocations: 218.1 kB / 0.5735 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.7405, allocations: 104.9 kB / 0.5736 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.7405, allocations: 4.328 kB / 0.5736 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7407, allocations: 12 kB / 0.5736 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.7407, allocations: 11.92 kB / 0.5736 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.7408, allocations: 4 kB / 0.5736 GB, free: 5.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.7411, allocations: 200.2 kB / 0.5738 GB, free: 4.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7411, allocations: 0 / 0.5738 GB, free: 4.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.7415, allocations: 35.94 kB / 0.5738 GB, free: 4.957 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.002113/0.7436, allocations: 1.206 MB / 0.575 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.744, allocations: 67.91 kB / 0.5751 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.744, allocations: 0 / 0.5751 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.7442, allocations: 27.98 kB / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.7446, allocations: 29.34 kB / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.7468, allocations: 1.062 MB / 0.5762 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.7473, allocations: 0.7238 MB / 0.5769 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.7474, allocations: 43.53 kB / 0.5769 GB, free: 1.789 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7475, allocations: 3.938 kB / 0.5769 GB, free: 1.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.694/3.441, allocations: 2.853 MB / 0.5797 GB, free: 14.93 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat