Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001509/0.001509, allocations: 180.3 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.601/1.601, allocations: 221.4 MB / 236 MB, free: 2.98 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.0008644/0.0008645, allocations: 99.72 kB / 287 MB, free: 260 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.2175/0.2175, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.812e-05/4.823e-05, allocations: 4 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.6407, allocations: 89.23 MB / 0.589 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.641, allocations: 75.95 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.6559, allocations: 5.395 MB / 0.5943 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6559, allocations: 0 / 0.5943 GB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.6559, allocations: 11.94 kB / 0.5943 GB, free: 10.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004729/0.6564, allocations: 390.2 kB / 0.5947 GB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6565, allocations: 12.03 kB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.6565, allocations: 34.56 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.6566, allocations: 15.89 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.6569, allocations: 201 kB / 0.5949 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6569, allocations: 4 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.657, allocations: 3.984 kB / 0.5949 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.6571, allocations: 75.34 kB / 0.595 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6571, allocations: 0 / 0.595 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6572, allocations: 3.938 kB / 0.595 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6572, allocations: 3.984 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.6572, allocations: 24 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.6576, allocations: 276.9 kB / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.6578, allocations: 62.56 kB / 0.5954 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.6578, allocations: 28.98 kB / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.6579, allocations: 0 / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.658, allocations: 79.28 kB / 0.5955 GB, free: 9.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.658, allocations: 0 / 0.5955 GB, free: 9.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004674/0.6585, allocations: 177.2 kB / 0.5956 GB, free: 9.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.6586, allocations: 81.11 kB / 0.5957 GB, free: 8.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.6587, allocations: 147.7 kB / 0.5959 GB, free: 8.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.6588, allocations: 33.64 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.6588, allocations: 96.31 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.6589, allocations: 35.55 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.6589, allocations: 0 / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.659, allocations: 322.8 kB / 0.5963 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.6591, allocations: 28 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.6591, allocations: 50.56 kB / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.6592, allocations: 27.98 kB / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6592, allocations: 0 / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001814/0.6594, allocations: 128.1 kB / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6594, allocations: 4 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6594, allocations: 0 / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6595, allocations: 3.984 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6596, allocations: 23.98 kB / 0.5966 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6596, allocations: 0 / 0.5966 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.6597, allocations: 8 kB / 0.5966 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.6597, allocations: 8.047 kB / 0.5966 GB, free: 7.996 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 8.009e-05/0.6598, allocations: 116.9 kB / 0.5967 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.6598, allocations: 15.81 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.6601, allocations: 130.2 kB / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6601, allocations: 0 / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6601, allocations: 4 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6601, allocations: 0 / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.6605, allocations: 431.2 kB / 0.5973 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6605, allocations: 0 / 0.5973 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.6606, allocations: 12 kB / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6606, allocations: 0 / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6606, allocations: 7.984 kB / 0.5973 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6606, allocations: 7.953 kB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6606, allocations: 0 / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.6609, allocations: 225.9 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.6609, allocations: 93 kB / 0.5976 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.661, allocations: 11.95 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.6611, allocations: 11.94 kB / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.6611, allocations: 7.984 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.6611, allocations: 0 / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.6612, allocations: 127 kB / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6612, allocations: 0 / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002814/0.6615, allocations: 43.92 kB / 0.5978 GB, free: 6.664 MB / 410.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001561/0.6631, allocations: 1.212 MB / 0.599 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.6633, allocations: 71.98 kB / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6633, allocations: 3.938 kB / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.6634, allocations: 36 kB / 0.5991 GB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.6637, allocations: 23.97 kB / 0.5991 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.6642, allocations: 213.6 kB / 0.5993 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.6646, allocations: 0.7162 MB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.6647, allocations: 24.8 kB / 0.6 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.6648, allocations: 31.42 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6648, allocations: 0 / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.6794, allocations: 3.275 MB / 0.6032 GB, free: 1.18 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.6796, allocations: 205.5 kB / 0.6034 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.382, allocations: 0 / 0.6034 GB, free: 0.9531 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat