Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.001675/0.001675, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.792/1.792, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008404/0.0008404, allocations: 88.25 kB / 267.1 MB, free: 9.277 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.4691/0.4691, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.377e-05/5.409e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.6083, allocations: 87.92 MB / 0.5588 GB, free: 16.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.6086, allocations: 72.33 kB / 0.5588 GB, free: 16.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.6367, allocations: 11 MB / 0.5696 GB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6367, allocations: 4 kB / 0.5696 GB, free: 8.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.971e-05/0.6368, allocations: 4 kB / 0.5696 GB, free: 8.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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007874/0.6375, allocations: 0.6501 MB / 0.5702 GB, free: 7.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6376, allocations: 12.03 kB / 0.5702 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.6377, allocations: 45.42 kB / 0.5703 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.6378, allocations: 58.77 kB / 0.5703 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.6385, allocations: 422.1 kB / 0.5707 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.6386, allocations: 11.31 kB / 0.5708 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.6386, allocations: 19.88 kB / 0.5708 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.6389, allocations: 194.2 kB / 0.571 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6389, allocations: 7.938 kB / 0.571 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.6389, allocations: 5.062 kB / 0.571 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6389, allocations: 11.92 kB / 0.571 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.6391, allocations: 97.72 kB / 0.5711 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.6399, allocations: 0.8913 MB / 0.5719 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.6402, allocations: 270.5 kB / 0.5722 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.6403, allocations: 88.97 kB / 0.5723 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.6404, allocations: 15.42 kB / 0.5723 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.6407, allocations: 222.5 kB / 0.5725 GB, free: 5.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.6407, allocations: 0 / 0.5725 GB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001399/0.6421, allocations: 0.9006 MB / 0.5734 GB, free: 4.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.6422, allocations: 158.2 kB / 0.5735 GB, free: 4.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.6428, allocations: 0.5556 MB / 0.5741 GB, free: 4.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6428, allocations: 39.27 kB / 0.5741 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.643, allocations: 227.3 kB / 0.5743 GB, free: 3.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.6431, allocations: 120.7 kB / 0.5745 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.6431, allocations: 7.125 kB / 0.5745 GB, free: 3.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6432, allocations: 368.2 kB / 0.5748 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.6433, allocations: 92.61 kB / 0.5749 GB, free: 3.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.6435, allocations: 187.8 kB / 0.5751 GB, free: 3.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.6437, allocations: 114.6 kB / 0.5752 GB, free: 3.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6437, allocations: 4 kB / 0.5752 GB, free: 3.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004726/0.6442, allocations: 390.7 kB / 0.5756 GB, free: 2.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6442, allocations: 4.625 kB / 0.5756 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6442, allocations: 4 kB / 0.5756 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6442, allocations: 4 kB / 0.5756 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.6445, allocations: 82.83 kB / 0.5757 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6445, allocations: 4 kB / 0.5757 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.6447, allocations: 26.33 kB / 0.5757 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.6448, allocations: 15.44 kB / 0.5757 GB, free: 2.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 9.768e-05/0.6449, allocations: 152 kB / 0.5759 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.6449, allocations: 59.25 kB / 0.5759 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.6456, allocations: 460 kB / 0.5763 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6456, allocations: 8 kB / 0.5764 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6456, allocations: 4 kB / 0.5764 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6457, allocations: 4.453 kB / 0.5764 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.647, allocations: 1.348 MB / 0.5777 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.647, allocations: 7.938 kB / 0.5777 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.6472, allocations: 55.23 kB / 0.5777 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.6472, allocations: 4 kB / 0.5777 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.6472, allocations: 19.48 kB / 0.5778 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6472, allocations: 7.938 kB / 0.5778 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6472, allocations: 7.953 kB / 0.5778 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.6479, allocations: 0.9359 MB / 0.5787 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.648, allocations: 159 kB / 0.5788 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.6481, allocations: 14.5 kB / 0.5789 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.6485, allocations: 26.59 kB / 0.5789 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.6486, allocations: 27.34 kB / 0.5789 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.6486, allocations: 27.12 kB / 0.5789 GB, free: 15.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005414/0.6491, allocations: 458.1 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6491, allocations: 0 / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005673/0.6497, allocations: 97.19 kB / 0.5795 GB, free: 15.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00254/0.6523, allocations: 2.44 MB / 0.5818 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.6528, allocations: 283.7 kB / 0.5821 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6529, allocations: 3.938 kB / 0.5821 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.6531, allocations: 158.2 kB / 0.5823 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.654, allocations: 129.3 kB / 0.5824 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.6557, allocations: 0.8352 MB / 0.5832 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.6562, allocations: 0.863 MB / 0.5841 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.6565, allocations: 90.42 kB / 0.5841 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.6568, allocations: 183.2 kB / 0.5843 GB, free: 10.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6568, allocations: 0 / 0.5843 GB, free: 10.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.6807, allocations: 10.17 MB / 0.5942 GB, free: 476 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.6809, allocations: 187.6 kB / 0.5944 GB, free: 244 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.996, allocations: 0 / 0.5944 GB, free: 244 kB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat