Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.0006778/0.0006778, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009237/0.001601, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.9285/0.9285, allocations: 177.2 MB / 188.4 MB, free: 4.383 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1691/1.098, allocations: 53.66 MB / 242 MB, free: 2.586 MB / 234.7 MB " [Timeout remaining time 179] 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.0008576/0.0008576, allocations: 154.3 kB / 242.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001926, allocations: 479 kB / 243.4 MB, free: 1.258 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02413/0.02413, allocations: 6.65 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004639/0.02877, allocations: 2.662 MB / 253.5 MB, free: 7.383 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.191e-05, allocations: 6.312 kB / 254.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002586/0.002608, allocations: 1.382 MB / 256.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 2.867e-05/0.002636, allocations: 3.938 kB / 256.1 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.002658, allocations: 4 kB / 256.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.002684, allocations: 0 / 256.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.002716, allocations: 7.922 kB / 256.1 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.605e-05/0.002732, allocations: 0 / 256.1 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.002788, allocations: 7.938 kB / 256.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.00284, allocations: 8 kB / 256.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.002895, allocations: 7.984 kB / 256.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.002933, allocations: 7.938 kB / 256.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002947, allocations: 0 / 256.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-06/0.002952, allocations: 0 / 256.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002966, allocations: 0 / 256.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.002984, allocations: 4 kB / 256.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.408e-05/0.003038, allocations: 3.938 kB / 256.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.003054, allocations: 4 kB / 256.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003055, allocations: 0 / 256.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.003065, allocations: 0 / 256.2 MB, free: 4.648 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003486/0.003413, allocations: 224.7 kB / 256.4 MB, free: 4.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003447, allocations: 8.031 kB / 256.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.003474, allocations: 4.938 kB / 256.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.003557, allocations: 105.8 kB / 256.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.003568, allocations: 8.375 kB / 256.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.003574, allocations: 384 / 256.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.00365, allocations: 47.91 kB / 256.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.003684, allocations: 192 / 256.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003691, allocations: 384 / 256.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.003696, allocations: 384 / 256.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.003711, allocations: 11.94 kB / 256.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.00395, allocations: 379 kB / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.004015, allocations: 165.1 kB / 257.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.004041, allocations: 84.12 kB / 257.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.00407, allocations: 75.28 kB / 257.3 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.004112, allocations: 113.9 kB / 257.4 MB, free: 3.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.004113, allocations: 0 / 257.4 MB, free: 3.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.858e-05/0.004172, allocations: 33.58 kB / 257.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.004238, allocations: 126.7 kB / 257.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.004318, allocations: 118.7 kB / 257.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004326, allocations: 29.7 kB / 257.7 MB, free: 3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.004371, allocations: 92.03 kB / 257.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.004374, allocations: 0 / 257.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.0044, allocations: 9.719 kB / 257.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.004517, allocations: 314.8 kB / 258.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.004523, allocations: 0 / 258.1 MB, free: 2.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.004541, allocations: 21.69 kB / 258.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.004576, allocations: 17.66 kB / 258.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004578, allocations: 0 / 258.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.476e-05/0.004653, allocations: 37.77 kB / 258.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.004668, allocations: 10.64 kB / 258.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004672, allocations: 0 / 258.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.004684, allocations: 11.88 kB / 258.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.004725, allocations: 7.938 kB / 258.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004728, allocations: 4 kB / 258.2 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.00475, allocations: 0 / 258.2 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.004754, allocations: 0 / 258.2 MB, free: 2.449 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.032e-05/0.004824, allocations: 185.1 kB / 258.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.004875, allocations: 105 kB / 258.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.004925, allocations: 119.8 kB / 258.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.042e-05/0.004975, allocations: 180.2 kB / 258.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-05/0.005061, allocations: 176.3 kB / 258.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/0.005109, allocations: 184.2 kB / 259.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.005277, allocations: 321.4 kB / 259.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.005307, allocations: 107.8 kB / 259.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.005335, allocations: 101 kB / 259.6 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.005375, allocations: 105 kB / 259.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.005426, allocations: 184.2 kB / 259.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.00548, allocations: 180.2 kB / 260.1 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.237e-05/0.005532, allocations: 188.2 kB / 260.3 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-05/0.005583, allocations: 184.2 kB / 260.5 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.005783, allocations: 307.8 kB / 260.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.005838, allocations: 180.3 kB / 260.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.005912, allocations: 108.9 kB / 261 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.005966, allocations: 180.3 kB / 261.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.005998, allocations: 108.9 kB / 261.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.006022, allocations: 17.09 kB / 261.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006022, allocations: 0 / 261.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.00622, allocations: 4 kB / 261.3 MB, free: 15.12 MB / 266.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 (0): * Single equations (assignments): 0 * 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.0001009/0.006321, allocations: 155.7 kB / 261.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.006423, allocations: 4 kB / 261.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.00643, allocations: 7.938 kB / 261.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.006464, allocations: 0 / 261.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.006663, allocations: 459.7 kB / 262 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.006821, allocations: 176 kB / 262.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.368e-05/0.006845, allocations: 51.36 kB / 262.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.268e-05/0.006867, allocations: 7.922 kB / 262.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.006893, allocations: 55.56 kB / 262.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006893, allocations: 0 / 262.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Templates: time 0.001405/0.008299, allocations: 203.9 kB / 262.4 MB, free: 13.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Classes.MixedDeclaration_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Classes.MixedDeclaration_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Classes.MixedDeclaration_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Classes.MixedDeclaration_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration_ida.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Classes.MixedDeclaration_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Classes.MixedDeclaration_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5093874037265778]