Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.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.002362/0.002362, allocations: 80.08 kB / 19.43 MB, free: 344 kB / 13.93 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.002586/0.002586, allocations: 165.7 kB / 22.76 MB, free: 1.66 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 1.661/1.661, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.2122/0.2122, allocations: 21.8 MB / 281.4 MB, free: 7.215 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.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 358 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.746e-05, allocations: 6.25 kB / 358 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.005984/0.006022, allocations: 1.859 MB / 359.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.007328, allocations: 330.6 kB / 360.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.007604, allocations: 11.94 kB / 360.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.007941, allocations: 63.25 kB / 360.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.008177, allocations: 43.48 kB / 360.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.008745, allocations: 159.8 kB / 360.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008652/0.00961, allocations: 404.4 kB / 360.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.0103, allocations: 234.5 kB / 361.1 MB, free: 2.375 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.01072, allocations: 231.5 kB / 361.3 MB, free: 2.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.01098, allocations: 119.5 kB / 361.4 MB, free: 2.031 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01109, allocations: 40 kB / 361.5 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.01119, allocations: 44 kB / 361.5 MB, free: 1.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.01134, allocations: 99.58 kB / 361.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.01156, allocations: 131.6 kB / 361.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008351/0.01239, allocations: 434.2 kB / 362.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0124, allocations: 4 kB / 362.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0124, allocations: 0 / 362.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01241, allocations: 0 / 362.2 MB, free: 1.293 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001572/0.01398, allocations: 0.6419 MB / 362.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.01403, allocations: 12.03 kB / 362.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.01429, allocations: 100.6 kB / 362.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.01511, allocations: 293.7 kB / 363.2 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.01519, allocations: 41.69 kB / 363.2 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.01532, allocations: 52.38 kB / 363.3 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.01672, allocations: 484.7 kB / 363.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.01674, allocations: 4.188 kB / 363.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.01682, allocations: 20.38 kB / 363.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.01685, allocations: 12.38 kB / 363.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.01772, allocations: 263.7 kB / 364.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.0212, allocations: 1.502 MB / 365.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.02203, allocations: 194.8 kB / 365.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.02223, allocations: 68.73 kB / 365.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.02225, allocations: 4 kB / 365.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.0223, allocations: 38.5 kB / 365.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.0223, allocations: 0 / 365.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007906/0.02309, allocations: 224.2 kB / 366.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.02317, allocations: 55.41 kB / 366.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.02365, allocations: 233.8 kB / 366.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.0237, allocations: 33.7 kB / 366.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.02405, allocations: 276.1 kB / 366.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.02417, allocations: 75.38 kB / 366.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.02433, allocations: 49.7 kB / 366.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003033/0.02463, allocations: 334.8 kB / 367.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.02486, allocations: 59.97 kB / 367.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.02519, allocations: 127.6 kB / 367.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006001/0.02579, allocations: 207.4 kB / 367.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.02579, allocations: 0 / 367.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008025/0.02659, allocations: 253.9 kB / 367.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.02662, allocations: 8 kB / 367.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.02663, allocations: 4.25 kB / 367.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.02666, allocations: 4 kB / 367.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.02704, allocations: 43.92 kB / 367.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.02706, allocations: 4 kB / 367.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.02724, allocations: 19.84 kB / 367.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.02728, allocations: 12 kB / 367.8 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (Water_Inside.Integrator1.local_reset,Water_Outside.Integrator1.local_reset,Sucrose_Outside.Integrator1.local_reset,Sucrose_Inside.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0003038/0.02758, allocations: 157.7 kB / 368 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.02769, allocations: 31.8 kB / 368 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.02779, allocations: 30.12 kB / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.0278, allocations: 3.984 kB / 368.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.02781, allocations: 4 kB / 368.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02781, allocations: 3.938 kB / 368.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.02848, allocations: 281.1 kB / 368.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02849, allocations: 0 / 368.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.02888, allocations: 31.92 kB / 368.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02888, allocations: 0 / 368.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.02891, allocations: 8 kB / 368.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.02892, allocations: 3.938 kB / 368.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02892, allocations: 0 / 368.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009129/0.02983, allocations: 352.5 kB / 368.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.0299, allocations: 27.73 kB / 368.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.02995, allocations: 8 kB / 368.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.03014, allocations: 8 kB / 368.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.03019, allocations: 7.984 kB / 368.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.03021, allocations: 4 kB / 368.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.03051, allocations: 161.2 kB / 368.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.03051, allocations: 0 / 368.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006413/0.03115, allocations: 91.52 kB / 369 MB, free: 10.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Sucrose_Inside.Integrator1.y,Sucrose_Outside.Integrator1.y,Water_Outside.Integrator1.y,Water_Inside.Integrator1.y) * 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 (19): * Single equations (assignments): 19 * 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 0.0001677/0.03132, allocations: 91.25 kB / 369.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.03188, allocations: 152 kB / 369.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.03189, allocations: 4 kB / 369.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.03213, allocations: 78.38 kB / 369.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.03277, allocations: 42.3 kB / 369.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.03464, allocations: 0.6511 MB / 370 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.03505, allocations: 211 kB / 370.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.03518, allocations: 13.95 kB / 370.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.03527, allocations: 20.5 kB / 370.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03527, allocations: 0 / 370.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of Templates: time 0.01025/0.04552, allocations: 1.477 MB / 371.8 MB, free: 7.301 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile [Timeout 660] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.pipe 2>&1) [Timeout 480] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_cvode.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_cvode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_cvode.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane -abortSlowSimulation -alarm=480 -lv LOG_STATS -s cvode > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_cvode.pipe 2>&1) [Timeout 480] (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_gbode.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_gbode.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_gbode.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane -abortSlowSimulation -alarm=480 -lv LOG_STATS -s gbode -gbm=radauIIA3 > SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane_gbode.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.917623008019291]