Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009277, allocations: 95.45 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3244/0.3244, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000552/0.0005522, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4217, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.5327, allocations: 89.3 MB / 0.5969 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.533, allocations: 91.89 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.5482, allocations: 5.613 MB / 0.6024 GB, free: 128 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5483, allocations: 3.938 kB / 0.6024 GB, free: 124 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.5483, allocations: 4 kB / 0.6024 GB, free: 120 kB / 410.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.0005452/0.5489, allocations: 426.8 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.5489, allocations: 8.031 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.549, allocations: 42.56 kB / 0.6029 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.549, allocations: 15.75 kB / 0.6029 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.5493, allocations: 212.3 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5494, allocations: 3.953 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.5494, allocations: 4 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.5496, allocations: 53.67 kB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5496, allocations: 11.92 kB / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.5496, allocations: 0 / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5496, allocations: 0 / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.5497, allocations: 23.98 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.5501, allocations: 296.9 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.5503, allocations: 62.61 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5503, allocations: 4 kB / 0.6035 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.5505, allocations: 67.52 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5505, allocations: 0 / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.5511, allocations: 181 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5511, allocations: 59.41 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.5513, allocations: 182.5 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5513, allocations: 29.7 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.5514, allocations: 104.1 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.5514, allocations: 23.66 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5514, allocations: 4 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5516, allocations: 327 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.5516, allocations: 19.98 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.5517, allocations: 37.7 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.5518, allocations: 27.94 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5518, allocations: 0 / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.552, allocations: 105.6 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.552, allocations: 4 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.552, allocations: 0 / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5521, allocations: 0 / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.5521, allocations: 23.92 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5522, allocations: 0 / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.5522, allocations: 4 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5522, allocations: 7.969 kB / 0.6047 GB, free: 13.55 MB / 426.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.0001061/0.5523, allocations: 134.3 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.5524, allocations: 11.81 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.5526, allocations: 119 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5526, allocations: 4 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5527, allocations: 384 / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5527, allocations: 0 / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.5531, allocations: 419.4 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5532, allocations: 8 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.5532, allocations: 8 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5532, allocations: 0 / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5532, allocations: 8.266 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5532, allocations: 4 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5533, allocations: 4.016 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.5535, allocations: 233.8 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.5536, allocations: 97 kB / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.5537, allocations: 0 / 0.6057 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.5537, allocations: 7.938 kB / 0.6057 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.5538, allocations: 11.94 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.5538, allocations: 4 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.5539, allocations: 148.9 kB / 0.6059 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5539, allocations: 4 kB / 0.6059 GB, free: 12.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.5542, allocations: 39.94 kB / 0.6059 GB, free: 12.19 MB / 426.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.001578/0.5558, allocations: 1.183 MB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.556, allocations: 63.91 kB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.556, allocations: 0 / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.5561, allocations: 39.86 kB / 0.6072 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5564, allocations: 32.06 kB / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.5576, allocations: 0.8857 MB / 0.6081 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5579, allocations: 0.7082 MB / 0.6087 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.5579, allocations: 24.84 kB / 0.6088 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.558, allocations: 39.42 kB / 0.6088 GB, free: 9.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.558, allocations: 0 / 0.6088 GB, free: 9.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.5756, allocations: 3.07 MB / 0.6118 GB, free: 6.367 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.5759, allocations: 216.6 kB / 0.612 GB, free: 6.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.287, allocations: 4.062 kB / 0.612 GB, free: 6.121 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat