Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001257/0.001256, allocations: 182.9 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.715/1.715, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008339/0.0008336, allocations: 86.59 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.4724/0.4724, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.608e-05/7.61e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6622, allocations: 87.46 MB / 0.5583 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.6624, allocations: 74.98 kB / 0.5584 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.6766, allocations: 5.529 MB / 0.5638 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6767, allocations: 0 / 0.5638 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.6767, allocations: 0 / 0.5638 GB, free: 13.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004491/0.6771, allocations: 405.8 kB / 0.5642 GB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.6772, allocations: 8.031 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.6772, allocations: 39.56 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.6773, allocations: 19.25 kB / 0.5642 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.6776, allocations: 231.6 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6776, allocations: 0 / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.6776, allocations: 4 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.6777, allocations: 43.19 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6778, allocations: 0 / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6778, allocations: 0 / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6778, allocations: 3.016 kB / 0.5645 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.6778, allocations: 17.42 kB / 0.5645 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.678, allocations: 195.7 kB / 0.5647 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.6782, allocations: 53.17 kB / 0.5648 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.6782, allocations: 18.25 kB / 0.5648 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.6782, allocations: 4 kB / 0.5648 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.6784, allocations: 62.55 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.324e-06/0.6784, allocations: 4 kB / 0.5649 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001969/0.6786, allocations: 91.47 kB / 0.5649 GB, free: 12.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.6786, allocations: 51.41 kB / 0.565 GB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.6788, allocations: 237.8 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.6789, allocations: 25.7 kB / 0.5652 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.6789, allocations: 113.8 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.6789, allocations: 11.69 kB / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.6789, allocations: 3.5 kB / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.679, allocations: 334.7 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.6791, allocations: 11.88 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.6791, allocations: 29.45 kB / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.6791, allocations: 14.09 kB / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6791, allocations: 0 / 0.5657 GB, free: 11.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.942e-05/0.6792, allocations: 80.72 kB / 0.5658 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6793, allocations: 7.984 kB / 0.5658 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6793, allocations: 4.031 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6793, allocations: 4 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.6794, allocations: 8 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6794, allocations: 0 / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.6794, allocations: 11.53 kB / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6795, allocations: 4 kB / 0.5659 GB, free: 11.18 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 (7): * Single equations (assignments): 7 * 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.414e-05/0.6795, allocations: 113.4 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.6795, allocations: 11.91 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6797, allocations: 93.92 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6797, allocations: 4 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6797, allocations: 0 / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6797, allocations: 4 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.6799, allocations: 216.4 kB / 0.5663 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6799, allocations: 0 / 0.5663 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.6799, allocations: 8 kB / 0.5663 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6799, allocations: 0 / 0.5663 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6799, allocations: 0 / 0.5663 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6799, allocations: 3.938 kB / 0.5663 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6799, allocations: 0 / 0.5663 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.6801, allocations: 124.5 kB / 0.5664 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.6802, allocations: 104.6 kB / 0.5665 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.6802, allocations: 1.312 kB / 0.5665 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.6802, allocations: 4 kB / 0.5665 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.6803, allocations: 7.062 kB / 0.5665 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.6803, allocations: 7.922 kB / 0.5665 GB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.6804, allocations: 195.4 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6804, allocations: 0 / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.6806, allocations: 31.88 kB / 0.5667 GB, free: 10.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001063/0.6817, allocations: 0.9189 MB / 0.5676 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.6818, allocations: 39.38 kB / 0.5677 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6818, allocations: 0 / 0.5677 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.6819, allocations: 27.8 kB / 0.5677 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.6821, allocations: 28 kB / 0.5677 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.6826, allocations: 262.9 kB / 0.568 GB, free: 9.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.6828, allocations: 0.7238 MB / 0.5687 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.6829, allocations: 24.09 kB / 0.5687 GB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.683, allocations: 42.55 kB / 0.5688 GB, free: 8.289 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.683, allocations: 4 kB / 0.5688 GB, free: 8.285 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.697, allocations: 3.137 MB / 0.5718 GB, free: 5.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.6972, allocations: 187.6 kB / 0.572 GB, free: 4.953 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.396, allocations: 0 / 0.572 GB, free: 4.953 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat