Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001789/0.001789, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.835/1.835, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001015/0.001015, allocations: 98.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2311/0.2311, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5471, allocations: 87.72 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5474, allocations: 71.28 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.5628, allocations: 5.71 MB / 0.5702 GB, free: 7.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5629, allocations: 0 / 0.5702 GB, free: 7.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.5629, allocations: 7.188 kB / 0.5702 GB, free: 7.074 MB / 378.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.0007089/0.5636, allocations: 434.6 kB / 0.5706 GB, free: 6.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.5637, allocations: 15.97 kB / 0.5706 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5637, allocations: 37.86 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.5638, allocations: 15.81 kB / 0.5707 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.5641, allocations: 229.9 kB / 0.5709 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5642, allocations: 0 / 0.5709 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5642, allocations: 7.875 kB / 0.5709 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.5644, allocations: 52.8 kB / 0.5709 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5644, allocations: 3.984 kB / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5644, allocations: 0 / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5644, allocations: 4 kB / 0.5709 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.5645, allocations: 27.11 kB / 0.571 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.565, allocations: 310.2 kB / 0.5713 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.5651, allocations: 59.98 kB / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.5652, allocations: 0 / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.5654, allocations: 77.67 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.5654, allocations: 4 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.5659, allocations: 189.5 kB / 0.5716 GB, free: 5.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.566, allocations: 51.41 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.5662, allocations: 239.4 kB / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5663, allocations: 25.7 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.5663, allocations: 112 kB / 0.572 GB, free: 5.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.5664, allocations: 27.02 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5664, allocations: 3.188 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5665, allocations: 329.3 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.5666, allocations: 22.86 kB / 0.5723 GB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.5666, allocations: 35.95 kB / 0.5724 GB, free: 4.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.5667, allocations: 21.45 kB / 0.5724 GB, free: 4.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5667, allocations: 4 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.5669, allocations: 113.2 kB / 0.5725 GB, free: 4.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5669, allocations: 4 kB / 0.5725 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5669, allocations: 4.031 kB / 0.5725 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5669, allocations: 0 / 0.5725 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.567, allocations: 16 kB / 0.5725 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.567, allocations: 7.891 kB / 0.5725 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.5671, allocations: 7.984 kB / 0.5726 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5671, allocations: 3.375 kB / 0.5726 GB, free: 4.617 MB / 378.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.000106/0.5672, allocations: 136.4 kB / 0.5727 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.5673, allocations: 15.81 kB / 0.5727 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.5675, allocations: 122.3 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5675, allocations: 4 kB / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5675, allocations: 0 / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5676, allocations: 3.953 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.5681, allocations: 432.2 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5681, allocations: 4 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.5682, allocations: 11.98 kB / 0.5733 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5682, allocations: 4.031 kB / 0.5733 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5682, allocations: 8.438 kB / 0.5733 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5682, allocations: 7.953 kB / 0.5733 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5682, allocations: 0 / 0.5733 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.5685, allocations: 217.1 kB / 0.5735 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.5686, allocations: 104.8 kB / 0.5736 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5686, allocations: 7.953 kB / 0.5736 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.5687, allocations: 11.95 kB / 0.5736 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.5687, allocations: 7.938 kB / 0.5736 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.5687, allocations: 4 kB / 0.5736 GB, free: 3.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.5689, allocations: 206.5 kB / 0.5738 GB, free: 3.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5689, allocations: 0 / 0.5738 GB, free: 3.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.5692, allocations: 35.88 kB / 0.5738 GB, free: 3.324 MB / 378.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.001443/0.5706, allocations: 1.216 MB / 0.575 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.5708, allocations: 67.08 kB / 0.5751 GB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5708, allocations: 0 / 0.5751 GB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.5709, allocations: 28.08 kB / 0.5751 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.5712, allocations: 27.94 kB / 0.5751 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.5725, allocations: 1.034 MB / 0.5762 GB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.5728, allocations: 0.7197 MB / 0.5769 GB, free: 348 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.795e-05/0.5728, allocations: 16.56 kB / 0.5769 GB, free: 328 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.5729, allocations: 48.83 kB / 0.5769 GB, free: 300 kB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5729, allocations: 7.938 kB / 0.5769 GB, free: 292 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.5885, allocations: 3.428 MB / 0.5803 GB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.5887, allocations: 209.8 kB / 0.5805 GB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.217, allocations: 0 / 0.5805 GB, free: 12.64 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat