Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001441/0.001441, 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.657/1.657, 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.0008835/0.0008836, allocations: 96.23 kB / 267.1 MB, free: 9.273 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.3596/0.3596, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.536e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.5484, allocations: 87.48 MB / 0.5583 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.5486, allocations: 73.59 kB / 0.5584 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5638, allocations: 6.497 MB / 0.5648 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5639, allocations: 0 / 0.5648 GB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.5639, allocations: 7.281 kB / 0.5648 GB, free: 12.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005752/0.5645, allocations: 0.6054 MB / 0.5654 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5645, allocations: 8.031 kB / 0.5654 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.5646, allocations: 41.44 kB / 0.5654 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.5647, allocations: 51.34 kB / 0.5655 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.5654, allocations: 479.2 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.5654, allocations: 7.812 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5655, allocations: 7.938 kB / 0.5659 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5656, allocations: 81.98 kB / 0.566 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5656, allocations: 1.375 kB / 0.566 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5657, allocations: 4 kB / 0.566 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5657, allocations: 3.984 kB / 0.566 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.5658, allocations: 29.42 kB / 0.566 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.5661, allocations: 390 kB / 0.5664 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5662, allocations: 96.66 kB / 0.5665 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.5663, allocations: 36.55 kB / 0.5665 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5663, allocations: 11.94 kB / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.5665, allocations: 98.16 kB / 0.5666 GB, free: 10.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.5665, allocations: 0 / 0.5666 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002893/0.5668, allocations: 177.5 kB / 0.5668 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.5668, allocations: 81.09 kB / 0.5669 GB, free: 10.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5679, allocations: 0.9324 MB / 0.5678 GB, free: 9.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5679, allocations: 29.7 kB / 0.5678 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.568, allocations: 232.1 kB / 0.568 GB, free: 9.461 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.568, allocations: 26.88 kB / 0.5681 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5681, allocations: 7.188 kB / 0.5681 GB, free: 9.434 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.5681, allocations: 366.8 kB / 0.5684 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.5682, allocations: 26 kB / 0.5685 GB, free: 9.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.5682, allocations: 63.05 kB / 0.5685 GB, free: 9.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.5683, allocations: 30.86 kB / 0.5685 GB, free: 8.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5683, allocations: 0 / 0.5685 GB, free: 8.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002001/0.5685, allocations: 163.5 kB / 0.5687 GB, free: 8.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5685, allocations: 8.781 kB / 0.5687 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5686, allocations: 0 / 0.5687 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5686, allocations: 0 / 0.5687 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5687, allocations: 31.98 kB / 0.5687 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5687, allocations: 3.984 kB / 0.5687 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5688, allocations: 23.14 kB / 0.5688 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5688, allocations: 4 kB / 0.5688 GB, free: 8.777 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.623e-05/0.5689, allocations: 116.2 kB / 0.5689 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.569, allocations: 51.44 kB / 0.5689 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.5692, allocations: 194.3 kB / 0.5691 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5693, allocations: 7.938 kB / 0.5691 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5693, allocations: 5.469 kB / 0.5691 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5693, allocations: 4 kB / 0.5691 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.5695, allocations: 385.1 kB / 0.5695 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5695, allocations: 4 kB / 0.5695 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.5696, allocations: 11.94 kB / 0.5695 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5696, allocations: 0 / 0.5695 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5696, allocations: 11.92 kB / 0.5695 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5696, allocations: 0 / 0.5695 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5696, allocations: 0 / 0.5695 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.5699, allocations: 220.7 kB / 0.5697 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.5701, allocations: 194.9 kB / 0.5699 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.5702, allocations: 4 kB / 0.5699 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.5703, allocations: 11.92 kB / 0.5699 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.5703, allocations: 11.92 kB / 0.5699 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.5704, allocations: 4 kB / 0.57 GB, free: 7.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007004/0.5711, allocations: 0.7464 MB / 0.5707 GB, free: 7.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5711, allocations: 3.938 kB / 0.5707 GB, free: 7.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.5714, allocations: 87.3 kB / 0.5708 GB, free: 6.98 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001195/0.5726, allocations: 1.108 MB / 0.5718 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.5727, allocations: 76.11 kB / 0.5719 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5728, allocations: 0 / 0.5719 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.5728, allocations: 45.3 kB / 0.572 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.5732, allocations: 60.95 kB / 0.572 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5743, allocations: 0.8867 MB / 0.5729 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.5746, allocations: 0.8563 MB / 0.5737 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.5747, allocations: 93.94 kB / 0.5738 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5749, allocations: 160.3 kB / 0.574 GB, free: 3.977 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5749, allocations: 0 / 0.574 GB, free: 3.977 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.5971, allocations: 9.055 MB / 0.5828 GB, free: 10.94 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.5973, allocations: 183.6 kB / 0.583 GB, free: 10.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.822, allocations: 0 / 0.583 GB, free: 10.72 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat