Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001076/0.001076, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.569/1.569, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 88.05 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.633e-05, allocations: 4 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1547, allocations: 61.93 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5741/0.7289, allocations: 89.28 MB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.7293, allocations: 71.97 kB / 0.5891 GB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.7468, allocations: 6.051 MB / 0.595 GB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7468, allocations: 0 / 0.595 GB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.7469, allocations: 4 kB / 0.595 GB, free: 9.84 MB / 410.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.0006694/0.7476, allocations: 418.1 kB / 0.5954 GB, free: 9.387 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7476, allocations: 8.031 kB / 0.5954 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.7477, allocations: 34.56 kB / 0.5954 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.7478, allocations: 19.78 kB / 0.5954 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.7482, allocations: 227.5 kB / 0.5957 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.7482, allocations: 7.953 kB / 0.5957 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.7482, allocations: 4 kB / 0.5957 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.7484, allocations: 57.67 kB / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.7485, allocations: 0 / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7485, allocations: 0 / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7485, allocations: 3.984 kB / 0.5957 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.7486, allocations: 31.92 kB / 0.5958 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.7491, allocations: 320.7 kB / 0.5961 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.7494, allocations: 62.5 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.7494, allocations: 16.98 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.7495, allocations: 4 kB / 0.5961 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.7496, allocations: 71.33 kB / 0.5962 GB, free: 8.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.7497, allocations: 0 / 0.5962 GB, free: 8.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006555/0.7503, allocations: 209.2 kB / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.7504, allocations: 55.41 kB / 0.5965 GB, free: 8.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.7507, allocations: 229.2 kB / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.7507, allocations: 29.7 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.7508, allocations: 116 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.7509, allocations: 39.48 kB / 0.5969 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.7509, allocations: 4 kB / 0.5969 GB, free: 7.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.751, allocations: 326.8 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.7511, allocations: 28 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.7512, allocations: 41.72 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.7512, allocations: 31.98 kB / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7513, allocations: 0 / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002306/0.7515, allocations: 124.4 kB / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7515, allocations: 8 kB / 0.5974 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7515, allocations: 4.031 kB / 0.5974 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7516, allocations: 0 / 0.5974 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.7517, allocations: 31.92 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.7517, allocations: 3.938 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.7517, allocations: 4 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.7518, allocations: 3.953 kB / 0.5974 GB, free: 7.082 MB / 410.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 (13): * Single equations (assignments): 13 * 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 9.756e-05/0.7519, allocations: 109 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.7519, allocations: 23.8 kB / 0.5976 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.7522, allocations: 151.6 kB / 0.5977 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7522, allocations: 4 kB / 0.5977 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7523, allocations: 0 / 0.5977 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7523, allocations: 0 / 0.5977 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/0.753, allocations: 472.1 kB / 0.5982 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.753, allocations: 7.938 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.753, allocations: 12.06 kB / 0.5982 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7531, allocations: 4 kB / 0.5982 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.7531, allocations: 11.98 kB / 0.5982 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7531, allocations: 4.047 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7531, allocations: 7.938 kB / 0.5982 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.7534, allocations: 256.4 kB / 0.5985 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7536, allocations: 104.9 kB / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.7536, allocations: 4 kB / 0.5986 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.7537, allocations: 8 kB / 0.5986 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.7538, allocations: 7.984 kB / 0.5986 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.7538, allocations: 4 kB / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.754, allocations: 184.3 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.754, allocations: 0 / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.7543, allocations: 51.92 kB / 0.5988 GB, free: 5.555 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002104/0.7564, allocations: 1.285 MB / 0.6001 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.7566, allocations: 79.88 kB / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7567, allocations: 0 / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.7567, allocations: 39.94 kB / 0.6002 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.7571, allocations: 30.5 kB / 0.6002 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.758, allocations: 306.4 kB / 0.6005 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.7585, allocations: 0.7238 MB / 0.6012 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.115e-05/0.7586, allocations: 20.75 kB / 0.6012 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.7587, allocations: 51.41 kB / 0.6013 GB, free: 3.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.7587, allocations: 0 / 0.6013 GB, free: 3.062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.7775, allocations: 3.637 MB / 0.6048 GB, free: 15.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.7779, allocations: 182.9 kB / 0.605 GB, free: 15.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.542, allocations: 0 / 0.605 GB, free: 15.28 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat