Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.00147/0.00147, 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.558/1.558, allocations: 221.3 MB / 236 MB, free: 2.969 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.001075/0.001075, allocations: 86.94 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.2069/0.2069, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.318e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1635, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.6279, allocations: 89.47 MB / 0.5892 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.6281, allocations: 77.11 kB / 0.5893 GB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.6502, allocations: 8.229 MB / 0.5973 GB, free: 7.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6502, allocations: 3.938 kB / 0.5973 GB, free: 7.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.6503, allocations: 4 kB / 0.5973 GB, free: 7.488 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001024/0.6513, allocations: 0.5132 MB / 0.5978 GB, free: 6.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/0.6514, allocations: 12.03 kB / 0.5978 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.6515, allocations: 34.56 kB / 0.5978 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.6515, allocations: 27.62 kB / 0.5979 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.6521, allocations: 291.9 kB / 0.5982 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6522, allocations: 4 kB / 0.5982 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.6522, allocations: 8 kB / 0.5982 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.6524, allocations: 115.3 kB / 0.5983 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6524, allocations: 0 / 0.5983 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.6525, allocations: 0 / 0.5983 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.6525, allocations: 4 kB / 0.5983 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.6526, allocations: 51.91 kB / 0.5983 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.6532, allocations: 492.8 kB / 0.5988 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.6536, allocations: 121.1 kB / 0.5989 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.6537, allocations: 49.81 kB / 0.599 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.6537, allocations: 4 kB / 0.599 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.6539, allocations: 120.9 kB / 0.5991 GB, free: 5.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6539, allocations: 0 / 0.5991 GB, free: 5.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009811/0.6549, allocations: 435.8 kB / 0.5995 GB, free: 5.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.655, allocations: 81.09 kB / 0.5996 GB, free: 4.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.6555, allocations: 390.6 kB / 0.5999 GB, free: 4.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.6555, allocations: 33.7 kB / 0.6 GB, free: 4.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.6557, allocations: 156.5 kB / 0.6001 GB, free: 4.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.6557, allocations: 74.94 kB / 0.6002 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.6557, allocations: 0 / 0.6002 GB, free: 4.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6559, allocations: 350.8 kB / 0.6005 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.656, allocations: 52 kB / 0.6006 GB, free: 3.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.6561, allocations: 88.67 kB / 0.6007 GB, free: 3.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.6563, allocations: 66.81 kB / 0.6007 GB, free: 3.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6563, allocations: 0 / 0.6007 GB, free: 3.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003562/0.6566, allocations: 229.1 kB / 0.6009 GB, free: 3.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6567, allocations: 4.938 kB / 0.601 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6567, allocations: 4 kB / 0.601 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6567, allocations: 0 / 0.601 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6569, allocations: 47.91 kB / 0.601 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6569, allocations: 0 / 0.601 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.657, allocations: 16.06 kB / 0.601 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.657, allocations: 4 kB / 0.601 GB, free: 3.406 MB / 410.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001033/0.6571, allocations: 128.9 kB / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.6572, allocations: 35.58 kB / 0.6012 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.6576, allocations: 270.2 kB / 0.6014 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6577, allocations: 4 kB / 0.6014 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6577, allocations: 0 / 0.6014 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6577, allocations: 0 / 0.6014 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6587, allocations: 0.7896 MB / 0.6022 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6587, allocations: 3.938 kB / 0.6022 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.6588, allocations: 35.98 kB / 0.6022 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6588, allocations: 4.125 kB / 0.6023 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.6589, allocations: 15.98 kB / 0.6023 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6589, allocations: 3.938 kB / 0.6023 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6589, allocations: 4 kB / 0.6023 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.6594, allocations: 485.6 kB / 0.6027 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6595, allocations: 128.6 kB / 0.6029 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.6596, allocations: 12 kB / 0.6029 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.6598, allocations: 11.98 kB / 0.6029 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.6598, allocations: 15.98 kB / 0.6029 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6598, allocations: 12 kB / 0.6029 GB, free: 1.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003479/0.6602, allocations: 318.1 kB / 0.6032 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6602, allocations: 0 / 0.6032 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.6606, allocations: 71.94 kB / 0.6033 GB, free: 0.9258 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001895/0.6625, allocations: 1.735 MB / 0.605 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.6628, allocations: 159.7 kB / 0.6051 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6628, allocations: 0 / 0.6051 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.663, allocations: 83.81 kB / 0.6052 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.6634, allocations: 59.61 kB / 0.6053 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.6645, allocations: 0.54 MB / 0.6058 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6648, allocations: 0.7795 MB / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.665, allocations: 46.03 kB / 0.6066 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.6651, allocations: 95.41 kB / 0.6067 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6651, allocations: 4 kB / 0.6067 GB, free: 13.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.684, allocations: 6.061 MB / 0.6126 GB, free: 7.469 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.6842, allocations: 190.5 kB / 0.6128 GB, free: 7.242 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.789, allocations: 3.938 kB / 0.6128 GB, free: 7.238 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat