Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.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.001013/0.001013, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002468, allocations: 439.8 kB / 10.34 MB, free: 360 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.001077/0.001077, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002487, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9512/0.9512, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08792/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7223/0.7223, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02931/0.7516, allocations: 21.05 MB / 0.5432 GB, free: 31.94 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response") translateModel(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.635e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.PD_dose_response): time 0.001299/0.001316, allocations: 0.6829 MB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.642e-05/0.001352, allocations: 19.88 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.00137, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-06/0.001375, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.848e-06/0.001384, allocations: 3.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.991e-05/0.001414, allocations: 7.984 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.001467, allocations: 19.91 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.001506, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.001554, allocations: 15.92 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.001612, allocations: 7.984 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.001633, allocations: 0 / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.001639, allocations: 8 kB / 0.5452 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.001649, allocations: 3.938 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.001669, allocations: 4 kB / 0.5452 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.263e-05/0.001721, allocations: 4 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.001733, allocations: 3.984 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001734, allocations: 4 kB / 0.5453 GB, free: 29.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.001744, allocations: 0 / 0.5453 GB, free: 29.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000311/0.002055, allocations: 243 kB / 0.5455 GB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.002089, allocations: 15.89 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.002113, allocations: 0.9375 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.99e-05/0.002173, allocations: 117.1 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.002183, allocations: 384 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.002193, allocations: 8.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.881e-05/0.002262, allocations: 34.25 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.00227, allocations: 4.125 kB / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.002276, allocations: 384 / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.002286, allocations: 4.375 kB / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.002311, allocations: 15.92 kB / 0.5457 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.194e-05/0.002393, allocations: 61.05 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.002594, allocations: 62.52 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.002618, allocations: 13.05 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.002627, allocations: 4 kB / 0.5458 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.002643, allocations: 30.56 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.002644, allocations: 0 / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001001/0.002744, allocations: 49.62 kB / 0.5459 GB, free: 29.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.002766, allocations: 51.41 kB / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.089e-05/0.002807, allocations: 106.7 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.002814, allocations: 29.7 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.08e-05/0.002825, allocations: 84.12 kB / 0.5462 GB, free: 28.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.002851, allocations: 19.84 kB / 0.5462 GB, free: 28.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.00288, allocations: 17.72 kB / 0.5462 GB, free: 28.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.002916, allocations: 322.8 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.002926, allocations: 4 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.002937, allocations: 7.188 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.002966, allocations: 20.78 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.002968, allocations: 0 / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.379e-05/0.003022, allocations: 41.69 kB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003034, allocations: 8 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.003038, allocations: 0 / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.003046, allocations: 0 / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.003104, allocations: 16 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.003107, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.003124, allocations: 7.891 kB / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.003128, allocations: 0 / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.194e-05/0.00317, allocations: 117.7 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.003178, allocations: 3.984 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.003196, allocations: 11.81 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.003199, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0032, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.003203, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.689e-05/0.00326, allocations: 81.83 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.003262, allocations: 3.625 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.003297, allocations: 11.98 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.003303, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.003305, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.00331, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.003311, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.003312, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.318e-05/0.003386, allocations: 73 kB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.003396, allocations: 4 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.003413, allocations: 0 / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.003426, allocations: 11.98 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.003429, allocations: 0 / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.918e-06/0.003439, allocations: 8.859 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.003439, allocations: 0 / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.003574, allocations: 4 kB / 0.5469 GB, free: 27.91 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 6.206e-05/0.003636, allocations: 76.42 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.975e-05/0.003706, allocations: 24.84 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.003712, allocations: 3.984 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.003725, allocations: 16.8 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.822e-05/0.003793, allocations: 19.25 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.003996, allocations: 128.5 kB / 0.5472 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.171e-05/0.004017, allocations: 59.34 kB / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.004042, allocations: 0 / 0.5472 GB, free: 27.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.004072, allocations: 51.38 kB / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.004073, allocations: 0 / 0.5473 GB, free: 27.47 MB / 410.7 MB Notification: Performance of Templates: time 0.001962/0.006034, allocations: 465.8 kB / 0.5477 GB, free: 27.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.PD_dose_response_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1621506176888943]