Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001531/0.001532, allocations: 182.5 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.709/1.709, 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.0008341/0.0008343, allocations: 96.8 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.4169/0.4169, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6257, allocations: 87.58 MB / 0.5584 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.6261, allocations: 73.64 kB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.6406, allocations: 5.271 MB / 0.5637 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6406, allocations: 0.5469 kB / 0.5637 GB, free: 13.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.6406, allocations: 0 / 0.5637 GB, free: 13.33 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.0005828/0.6412, allocations: 401.7 kB / 0.564 GB, free: 12.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6413, allocations: 12.03 kB / 0.5641 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.6413, allocations: 35.41 kB / 0.5641 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.6414, allocations: 11.34 kB / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.6417, allocations: 221.5 kB / 0.5643 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6418, allocations: 4 kB / 0.5643 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.6418, allocations: 5.062 kB / 0.5643 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.6419, allocations: 50.48 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6419, allocations: 4 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.642, allocations: 1.375 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.642, allocations: 4 kB / 0.5644 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.642, allocations: 18.48 kB / 0.5644 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.6425, allocations: 292.5 kB / 0.5647 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.6426, allocations: 54.75 kB / 0.5647 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.6427, allocations: 26.11 kB / 0.5647 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6427, allocations: 0 / 0.5647 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.6428, allocations: 74 kB / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.6428, allocations: 0 / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004797/0.6433, allocations: 162.6 kB / 0.565 GB, free: 12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.6434, allocations: 55.34 kB / 0.565 GB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.6435, allocations: 171.4 kB / 0.5652 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.6436, allocations: 31.39 kB / 0.5652 GB, free: 11.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.6436, allocations: 101.4 kB / 0.5653 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.6437, allocations: 21.75 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.6437, allocations: 0 / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.6437, allocations: 324.5 kB / 0.5656 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.6438, allocations: 19.66 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.6438, allocations: 29.58 kB / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.6439, allocations: 27.12 kB / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6439, allocations: 4 kB / 0.5657 GB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.6441, allocations: 99.39 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6441, allocations: 4 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6441, allocations: 4.156 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6441, allocations: 1.969 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.6442, allocations: 13.83 kB / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6442, allocations: 9.484 kB / 0.5659 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.6443, allocations: 7.312 kB / 0.5659 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6443, allocations: 8.031 kB / 0.5659 GB, free: 11.16 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 () * 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 7.603e-05/0.6444, allocations: 112.6 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.6444, allocations: 11.91 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.6447, allocations: 118.9 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6447, allocations: 0 / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6447, allocations: 1.641 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6447, allocations: 3.953 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.6452, allocations: 409.4 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6452, allocations: 1.078 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.6453, allocations: 9.688 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6453, allocations: 4 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.6453, allocations: 8.422 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6453, allocations: 0 / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6453, allocations: 5.406 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.6456, allocations: 213.7 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.6457, allocations: 98.58 kB / 0.5668 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6457, allocations: 10.14 kB / 0.5668 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.6458, allocations: 4.188 kB / 0.5668 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.6459, allocations: 8.359 kB / 0.5668 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6459, allocations: 8 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.646, allocations: 141 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.646, allocations: 4 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.6463, allocations: 35.75 kB / 0.567 GB, free: 10.05 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) * 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.001324/0.6477, allocations: 1.131 MB / 0.5681 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.6478, allocations: 56.75 kB / 0.5682 GB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6478, allocations: 0 / 0.5682 GB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.6479, allocations: 30.86 kB / 0.5682 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.6482, allocations: 26.3 kB / 0.5682 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.6488, allocations: 236.2 kB / 0.5685 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.6489, allocations: 0.7043 MB / 0.5691 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.649, allocations: 16.86 kB / 0.5692 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.6491, allocations: 35.23 kB / 0.5692 GB, free: 7.887 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6491, allocations: 4 kB / 0.5692 GB, free: 7.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.6659, allocations: 3.008 MB / 0.5721 GB, free: 4.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.6661, allocations: 179.6 kB / 0.5723 GB, free: 4.691 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.336, allocations: 0 / 0.5723 GB, free: 4.691 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat