Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.001197/0.001197, 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.733/1.733, 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.0008939/0.0008938, allocations: 91.09 kB / 267 MB, free: 9.281 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.4682/0.4682, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.357e-05/5.377e-05, allocations: 7.984 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6283, allocations: 87.58 MB / 0.5584 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6286, allocations: 74.64 kB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.6432, allocations: 5.261 MB / 0.5637 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6433, allocations: 4 kB / 0.5637 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.6433, allocations: 3.172 kB / 0.5637 GB, free: 13.44 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.0004495/0.6437, allocations: 401.9 kB / 0.564 GB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6438, allocations: 8.031 kB / 0.5641 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.6439, allocations: 35.5 kB / 0.5641 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.6439, allocations: 11.34 kB / 0.5641 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.6442, allocations: 221.6 kB / 0.5643 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6442, allocations: 3.984 kB / 0.5643 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.6442, allocations: 5.5 kB / 0.5643 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.6443, allocations: 54.34 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6444, allocations: 4 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6444, allocations: 1.375 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6444, allocations: 0 / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.6445, allocations: 26.02 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.6448, allocations: 293.5 kB / 0.5647 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.6449, allocations: 53.06 kB / 0.5647 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.645, allocations: 24.23 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.645, allocations: 0 / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.6451, allocations: 63.98 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.6452, allocations: 0 / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.6457, allocations: 166.2 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.6457, allocations: 55.41 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.6459, allocations: 170 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.6459, allocations: 29.7 kB / 0.5652 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.6459, allocations: 105.2 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.646, allocations: 25.98 kB / 0.5653 GB, free: 11.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.646, allocations: 0 / 0.5653 GB, free: 11.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.6461, allocations: 323.9 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.6461, allocations: 17.81 kB / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.6462, allocations: 35.12 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.6462, allocations: 28.25 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6462, allocations: 0 / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.6464, allocations: 101.5 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6464, allocations: 4 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.6464, allocations: 0 / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6464, allocations: 0 / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.6465, allocations: 23.31 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6465, allocations: 3.953 kB / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.6466, allocations: 4 kB / 0.5659 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.6466, allocations: 5.906 kB / 0.5659 GB, free: 11.27 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 5.837e-05/0.6467, allocations: 111.4 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.6467, allocations: 7.906 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.6469, allocations: 124.7 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6469, allocations: 1.312 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6469, allocations: 4 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.647, allocations: 7.938 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.6473, allocations: 407.9 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6473, allocations: 0 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.6474, allocations: 11.98 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6474, allocations: 0 / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6474, allocations: 10.95 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6474, allocations: 0 / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6474, allocations: 4.125 kB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.6476, allocations: 212.8 kB / 0.5667 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.6476, allocations: 99.31 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.6477, allocations: 15.2 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.6477, allocations: 4 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.6478, allocations: 3.984 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6478, allocations: 4 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.401e-05/0.6479, allocations: 144.9 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6479, allocations: 0 / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000232/0.6481, allocations: 35.56 kB / 0.567 GB, free: 10.1 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.001154/0.6493, allocations: 1.142 MB / 0.5681 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.6494, allocations: 52.31 kB / 0.5682 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6494, allocations: 0 / 0.5682 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.6495, allocations: 33.69 kB / 0.5682 GB, free: 8.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6497, allocations: 24.36 kB / 0.5682 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.6502, allocations: 231.2 kB / 0.5685 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.6504, allocations: 0.7082 MB / 0.5691 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.6504, allocations: 20.84 kB / 0.5692 GB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.6505, allocations: 35.36 kB / 0.5692 GB, free: 7.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6505, allocations: 0 / 0.5692 GB, free: 7.922 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.6649, allocations: 3 MB / 0.5721 GB, free: 4.957 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.6651, allocations: 187.6 kB / 0.5723 GB, free: 4.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.279, allocations: 0 / 0.5723 GB, free: 4.73 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat