Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Controls.PatientController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006898/0.0006898, allocations: 81.11 kB / 9.988 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008623/0.001552, allocations: 444 kB / 10.42 MB, free: 268 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000721/0.000721, allocations: 157.2 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009027/0.001624, allocations: 479.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8979/0.8979, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.028, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005865/0.005865, allocations: 1.432 MB / 222.8 MB, free: 15.17 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002007/0.007872, allocations: 0.9437 MB / 223.8 MB, free: 14.23 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.716e-05, allocations: 2.312 kB / 225.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.002416/0.002433, allocations: 1.371 MB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 9.64e-05/0.002529, allocations: 39.81 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.002549, allocations: 0 / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.002567, allocations: 0 / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 1.571e-05/0.002583, allocations: 0 / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.365e-05/0.002666, allocations: 11.98 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.645e-05/0.002753, allocations: 27.91 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.00279, allocations: 4 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.002855, allocations: 23.97 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.002924, allocations: 11.98 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.002943, allocations: 0 / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.002952, allocations: 7.938 kB / 226.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.002977, allocations: 7.938 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.003009, allocations: 4 kB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.238e-05/0.003082, allocations: 19.91 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.003097, allocations: 0 / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003098, allocations: 0 / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.003109, allocations: 0 / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004948/0.003604, allocations: 252.7 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.003638, allocations: 8.031 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.003695, allocations: 8.922 kB / 226.8 MB, free: 11.12 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.003767, allocations: 101.8 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.003837, allocations: 59.97 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003848, allocations: 4.375 kB / 227 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.003958, allocations: 58.92 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003965, allocations: 192 / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.003972, allocations: 384 / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.003979, allocations: 4.125 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.004002, allocations: 15.88 kB / 227.1 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.246e-05/0.004094, allocations: 65.05 kB / 227.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.004168, allocations: 26.61 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.004185, allocations: 4.859 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.004193, allocations: 4 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.004329, allocations: 75.34 kB / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.004331, allocations: 0 / 227.3 MB, free: 10.62 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001377/0.004468, allocations: 61.66 kB / 227.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.004514, allocations: 59.39 kB / 227.4 MB, free: 10.49 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.004589, allocations: 102.7 kB / 227.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.004606, allocations: 33.69 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.004649, allocations: 88.09 kB / 227.6 MB, free: 10.25 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.004667, allocations: 15.83 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.00471, allocations: 25.7 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.004801, allocations: 318.8 kB / 227.9 MB, free: 9.879 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.004827, allocations: 11.94 kB / 228 MB, free: 9.867 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.004863, allocations: 34.55 kB / 228 MB, free: 9.824 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.004923, allocations: 38.69 kB / 228 MB, free: 9.777 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.004926, allocations: 4 kB / 228 MB, free: 9.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001042/0.00503, allocations: 65.55 kB / 228.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005043, allocations: 4 kB / 228.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005048, allocations: 0 / 228.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.005058, allocations: 0 / 228.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.005144, allocations: 12 kB / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.005147, allocations: 0 / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.005191, allocations: 15.92 kB / 228.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.0052, allocations: 4 kB / 228.1 MB, free: 9.668 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,active,$PRE.active,t_off,$PRE.t_off,t_on,$PRE.t_on,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.005272, allocations: 124.6 kB / 228.3 MB, free: 9.539 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.005291, allocations: 11.94 kB / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.005318, allocations: 12.11 kB / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00532, allocations: 0 / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005323, allocations: 0 / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005326, allocations: 0 / 228.3 MB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/0.005405, allocations: 73.8 kB / 228.4 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005406, allocations: 0 / 228.4 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.005432, allocations: 7.984 kB / 228.4 MB, free: 9.422 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.005438, allocations: 3.938 kB / 228.4 MB, free: 9.418 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005439, allocations: 4 kB / 228.4 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005446, allocations: 4 kB / 228.4 MB, free: 9.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005447, allocations: 0 / 228.4 MB, free: 9.41 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005448, allocations: 0 / 228.4 MB, free: 9.41 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.769e-05/0.005546, allocations: 81.03 kB / 228.4 MB, free: 9.312 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.00556, allocations: 4 kB / 228.5 MB, free: 9.309 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.005593, allocations: 4 kB / 228.5 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.005637, allocations: 15.91 kB / 228.5 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.005644, allocations: 4 kB / 228.5 MB, free: 9.285 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.005657, allocations: 8.859 kB / 228.5 MB, free: 9.273 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005657, allocations: 4.094 kB / 228.5 MB, free: 9.27 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.005845, allocations: 8 kB / 228.5 MB, free: 9.262 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,t_on,t_off,active) * Number of discrete states: 2 (active,t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.523e-05/0.005931, allocations: 76.42 kB / 228.6 MB, free: 9.176 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.006083, allocations: 28.45 kB / 228.6 MB, free: 9.148 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.006087, allocations: 0 / 228.6 MB, free: 9.148 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/0.006148, allocations: 40.98 kB / 228.6 MB, free: 9.105 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.136e-05/0.006219, allocations: 7.938 kB / 228.6 MB, free: 9.098 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.00662, allocations: 132.5 kB / 228.8 MB, free: 8.941 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.006656, allocations: 59.36 kB / 228.8 MB, free: 8.863 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.001e-05/0.006686, allocations: 7.984 kB / 228.8 MB, free: 8.855 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.006734, allocations: 51.38 kB / 228.9 MB, free: 8.805 MB / 234.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006735, allocations: 0 / 228.9 MB, free: 8.805 MB / 234.7 MB Notification: Performance of Templates: time 0.002753/0.009488, allocations: 0.7131 MB / 229.6 MB, free: 8.098 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Controls.PatientController.makefile [Timeout 660] (rm -f MEV_MEV.Controls.PatientController.pipe ; mkfifo MEV_MEV.Controls.PatientController.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController.pipe >> ../files/MEV_MEV.Controls.PatientController.sim & (cd run_cvode && ../MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Controls.PatientController_dassl.pipe ; mkfifo MEV_MEV.Controls.PatientController_dassl.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Controls.PatientController_dassl.sim & (cd run_dassl && ../MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > MEV_MEV.Controls.PatientController_dassl.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Controls.PatientController_gbode.pipe ; mkfifo MEV_MEV.Controls.PatientController_gbode.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Controls.PatientController_gbode.sim & (cd run_gbode && ../MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > MEV_MEV.Controls.PatientController_gbode.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Controls.PatientController_ida.pipe ; mkfifo MEV_MEV.Controls.PatientController_ida.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Controls.PatientController_ida.sim & (cd run_ida && ../MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > MEV_MEV.Controls.PatientController_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.362669348716736]