Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.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.0008719/0.0008719, allocations: 84.22 kB / 20.17 MB, free: 4.125 MB / 18.57 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.001728/0.001728, allocations: 169.7 kB / 23.64 MB, free: 0.6602 MB / 18.57 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.9225/0.9225, allocations: 177.2 MB / 204.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/package.mo): time 0.1223/0.1223, allocations: 21.8 MB / 282.5 MB, free: 6.977 MB / 266.7 MB " [Timeout remaining time 180] Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics master/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(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"dassl\" Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 306.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.478e-05, allocations: 2.312 kB / 306.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.003567/0.003591, allocations: 1.773 MB / 308.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.004599, allocations: 335.5 kB / 308.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.004814, allocations: 11.88 kB / 308.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.005032, allocations: 59.33 kB / 308.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.005141, allocations: 35.55 kB / 308.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.005515, allocations: 159.8 kB / 308.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.005942, allocations: 348.3 kB / 309.2 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.006274, allocations: 203.1 kB / 309.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.006494, allocations: 207.5 kB / 309.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.006653, allocations: 107.6 kB / 309.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.006717, allocations: 40 kB / 309.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.006757, allocations: 43.94 kB / 309.8 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.006831, allocations: 99.59 kB / 309.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.006927, allocations: 111.6 kB / 310 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.007261, allocations: 278.6 kB / 310.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007265, allocations: 0 / 310.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007266, allocations: 0 / 310.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.007272, allocations: 0 / 310.2 MB, free: 6.207 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.0007503/0.008023, allocations: 0.5903 MB / 310.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.008058, allocations: 8.031 kB / 310.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.00815, allocations: 72.89 kB / 310.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.008444, allocations: 221 kB / 311.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.008479, allocations: 41.36 kB / 311.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.008538, allocations: 52.36 kB / 311.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.008917, allocations: 340.6 kB / 311.5 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.008932, allocations: 12.06 kB / 311.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.00896, allocations: 24.38 kB / 311.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.008975, allocations: 12.36 kB / 311.6 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.009131, allocations: 110.8 kB / 311.7 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.01039, allocations: 1.293 MB / 313 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.01062, allocations: 121.8 kB / 313.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.01068, allocations: 43.75 kB / 313.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.0107, allocations: 8 kB / 313.2 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.01081, allocations: 87.33 kB / 313.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.01081, allocations: 0 / 313.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001675/0.01098, allocations: 132.9 kB / 313.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.01102, allocations: 55.41 kB / 313.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01115, allocations: 217.3 kB / 313.6 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01116, allocations: 29.7 kB / 313.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.01126, allocations: 236.2 kB / 313.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.01129, allocations: 79.31 kB / 314 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.01135, allocations: 53.95 kB / 314 MB, free: 2.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.01143, allocations: 342.7 kB / 314.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.01147, allocations: 24.55 kB / 314.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.01153, allocations: 94.47 kB / 314.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01164, allocations: 144.4 kB / 314.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01164, allocations: 4 kB / 314.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001461/0.01178, allocations: 164.1 kB / 314.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.0118, allocations: 4 kB / 314.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01181, allocations: 4 kB / 314.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.01182, allocations: 4 kB / 314.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01193, allocations: 52.2 kB / 314.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01193, allocations: 8 kB / 314.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.01199, allocations: 19.84 kB / 314.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.012, allocations: 15.94 kB / 314.9 MB, free: 1.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,Non_infected.Integrator1.local_reset,Infected.Integrator1.local_reset,Sick.Integrator1.local_reset,Immune.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.119e-05/0.01208, allocations: 125.7 kB / 315 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.0121, allocations: 19.97 kB / 315 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.01224, allocations: 131.8 kB / 315.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01224, allocations: 0 / 315.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01224, allocations: 0 / 315.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01224, allocations: 0 / 315.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.01252, allocations: 366 kB / 315.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01252, allocations: 8 kB / 315.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.01262, allocations: 31.98 kB / 315.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01262, allocations: 3.938 kB / 315.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01264, allocations: 8 kB / 315.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01264, allocations: 3.938 kB / 315.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01264, allocations: 0 / 315.6 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.01281, allocations: 239.4 kB / 315.8 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.01282, allocations: 23.78 kB / 315.8 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.01284, allocations: 8 kB / 315.8 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.01288, allocations: 0 / 315.8 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.01291, allocations: 19.92 kB / 315.9 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01292, allocations: 7.984 kB / 315.9 MB, free: 260 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.01296, allocations: 70.78 kB / 315.9 MB, free: 188 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01296, allocations: 0 / 315.9 MB, free: 188 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.01312, allocations: 79.62 kB / 316 MB, free: 108 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Non_infected.Integrator1.y,Infected.Integrator1.y,Sick.Integrator1.y,Immune.Integrator1.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 7.242e-05/0.01319, allocations: 80.36 kB / 316.1 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.01333, allocations: 105.2 kB / 316.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01333, allocations: 64 / 316.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.01337, allocations: 56.16 kB / 316.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.01355, allocations: 42.78 kB / 316.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.01408, allocations: 0.5868 MB / 316.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.388e-05/0.01414, allocations: 108 kB / 317 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.01419, allocations: 17.94 kB / 317 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.01427, allocations: 83.34 kB / 317.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01427, allocations: 0 / 317.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Templates: time 0.003625/0.01789, allocations: 1.731 MB / 318.8 MB, free: 13.27 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.sim & (cd run_cvode && ../SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_gbode.sim & (cd run_gbode && ../SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_gbode.pipe 2>&1) [Timeout 240] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_ida.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_ida.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_ida.sim & (cd run_ida && ../SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.683454324491322]