Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001575/0.001575, allocations: 180.2 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.525/1.525, allocations: 221.3 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.0008975/0.0008975, allocations: 90.91 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.2199/0.2199, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.796e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.6265, allocations: 89.47 MB / 0.5892 GB, free: 15.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.6268, allocations: 79.89 kB / 0.5893 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02279/0.6496, allocations: 8.39 MB / 0.5975 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6497, allocations: 3.938 kB / 0.5975 GB, free: 7.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.6497, allocations: 4 kB / 0.5975 GB, free: 7.312 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.0007362/0.6505, allocations: 0.5171 MB / 0.598 GB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.6505, allocations: 8.031 kB / 0.598 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.6506, allocations: 42.55 kB / 0.598 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.6507, allocations: 27.62 kB / 0.598 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.6512, allocations: 303.9 kB / 0.5983 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6512, allocations: 11.94 kB / 0.5983 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.6513, allocations: 4 kB / 0.5983 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.6515, allocations: 111.3 kB / 0.5985 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6515, allocations: 0 / 0.5985 GB, free: 6.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6515, allocations: 4 kB / 0.5985 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6516, allocations: 4 kB / 0.5985 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.6517, allocations: 47.92 kB / 0.5985 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.6523, allocations: 0.493 MB / 0.599 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.6527, allocations: 125.2 kB / 0.5991 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.6527, allocations: 49.78 kB / 0.5992 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.6528, allocations: 0 / 0.5992 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.653, allocations: 116.9 kB / 0.5993 GB, free: 5.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.653, allocations: 0 / 0.5993 GB, free: 5.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009279/0.654, allocations: 447.6 kB / 0.5997 GB, free: 4.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.654, allocations: 85.11 kB / 0.5998 GB, free: 4.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.6545, allocations: 431.5 kB / 0.6002 GB, free: 4.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.6546, allocations: 33.7 kB / 0.6002 GB, free: 4.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6547, allocations: 160.5 kB / 0.6004 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.6547, allocations: 71.08 kB / 0.6004 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.6548, allocations: 11.94 kB / 0.6004 GB, free: 3.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6549, allocations: 342.8 kB / 0.6008 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.655, allocations: 53.31 kB / 0.6008 GB, free: 3.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6551, allocations: 91.42 kB / 0.6009 GB, free: 3.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.6553, allocations: 70.75 kB / 0.601 GB, free: 3.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6553, allocations: 0 / 0.601 GB, free: 3.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003268/0.6556, allocations: 233 kB / 0.6012 GB, free: 3.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6556, allocations: 4 kB / 0.6012 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6556, allocations: 4.062 kB / 0.6012 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6557, allocations: 4 kB / 0.6012 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.6558, allocations: 39.92 kB / 0.6013 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6558, allocations: 7.984 kB / 0.6013 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.6559, allocations: 8 kB / 0.6013 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.6559, allocations: 8 kB / 0.6013 GB, free: 3.125 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 9.139e-05/0.656, allocations: 120.9 kB / 0.6014 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.6561, allocations: 43.56 kB / 0.6014 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.6566, allocations: 282.3 kB / 0.6017 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6566, allocations: 4 kB / 0.6017 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6566, allocations: 0 / 0.6017 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6566, allocations: 4 kB / 0.6017 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.6576, allocations: 0.7975 MB / 0.6025 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6576, allocations: 0 / 0.6025 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.6577, allocations: 39.86 kB / 0.6025 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6577, allocations: 0 / 0.6025 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6577, allocations: 11.98 kB / 0.6025 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6577, allocations: 4 kB / 0.6025 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6577, allocations: 0 / 0.6025 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.6582, allocations: 489.7 kB / 0.603 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6583, allocations: 136.6 kB / 0.6031 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.6584, allocations: 8 kB / 0.6031 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.6585, allocations: 15.98 kB / 0.6032 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.6586, allocations: 15.92 kB / 0.6032 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.6586, allocations: 12 kB / 0.6032 GB, free: 1.008 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003457/0.659, allocations: 350.1 kB / 0.6035 GB, free: 0.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.659, allocations: 4 kB / 0.6035 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.6594, allocations: 75.84 kB / 0.6036 GB, free: 0.5898 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.001892/0.6613, allocations: 1.727 MB / 0.6053 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.6615, allocations: 151.8 kB / 0.6054 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6616, allocations: 8 kB / 0.6054 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.6617, allocations: 83.86 kB / 0.6055 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.6621, allocations: 59.23 kB / 0.6056 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.6632, allocations: 0.5943 MB / 0.6062 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.6636, allocations: 0.799 MB / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.6638, allocations: 46.06 kB / 0.607 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6639, allocations: 99.39 kB / 0.6071 GB, free: 13.03 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6639, allocations: 0 / 0.6071 GB, free: 13.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.684, allocations: 6.357 MB / 0.6133 GB, free: 6.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.6842, allocations: 190.5 kB / 0.6135 GB, free: 6.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.738, allocations: 3.938 kB / 0.6135 GB, free: 6.539 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat