Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.0006831/0.0006831, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002066, 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.9045/0.9045, allocations: 177.2 MB / 188.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1513/1.056, allocations: 53.66 MB / 242 MB, free: 2.582 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.001162/0.001162, allocations: 147 kB / 242.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.00285, allocations: 483.5 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.03613/0.03613, allocations: 6.658 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004806/0.04093, allocations: 2.662 MB / 253.5 MB, free: 7.387 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.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 254.7 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.04e-05, allocations: 2.312 kB / 254.7 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002645/0.002655, allocations: 1.915 MB / 256.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.003394, allocations: 495.2 kB / 257.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.00346, allocations: 0 / 257.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/0.003524, allocations: 23.78 kB / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.003607, allocations: 31.72 kB / 257.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.411e-05/0.003691, allocations: 23.95 kB / 257.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.003854, allocations: 123.4 kB / 257.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.003953, allocations: 33.88 kB / 257.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004054, allocations: 91.8 kB / 257.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.004128, allocations: 35.91 kB / 257.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.004149, allocations: 8 kB / 257.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.004167, allocations: 12 kB / 257.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.004189, allocations: 19.88 kB / 257.5 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.004229, allocations: 31.94 kB / 257.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.004351, allocations: 75.69 kB / 257.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.504e-05/0.004366, allocations: 4 kB / 257.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004367, allocations: 0 / 257.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.004376, allocations: 0 / 257.6 MB, free: 3.172 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004294/0.004806, allocations: 348.1 kB / 258 MB, free: 2.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.004836, allocations: 8.031 kB / 258 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.004876, allocations: 16.92 kB / 258 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005003, allocations: 121.6 kB / 258.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.005015, allocations: 12.38 kB / 258.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.005037, allocations: 12.38 kB / 258.2 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005158, allocations: 104.8 kB / 258.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005165, allocations: 192 / 258.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.005175, allocations: 4.375 kB / 258.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.005183, allocations: 7.938 kB / 258.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.005228, allocations: 25.52 kB / 258.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.005689, allocations: 350.1 kB / 258.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.006034, allocations: 26.58 kB / 258.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.006058, allocations: 16.94 kB / 258.7 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.006065, allocations: 3.984 kB / 258.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.006089, allocations: 38.5 kB / 258.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.00609, allocations: 4 kB / 258.7 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001157/0.006206, allocations: 49.62 kB / 258.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.006233, allocations: 51.41 kB / 258.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.006315, allocations: 130.7 kB / 258.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006326, allocations: 25.7 kB / 259 MB, free: 1.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.006378, allocations: 127.7 kB / 259.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.006391, allocations: 11.89 kB / 259.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006425, allocations: 25.7 kB / 259.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.006504, allocations: 310.8 kB / 259.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.006515, allocations: 7.984 kB / 259.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.006543, allocations: 34.5 kB / 259.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.00659, allocations: 42.56 kB / 259.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006592, allocations: 0 / 259.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.558e-05/0.006668, allocations: 61.61 kB / 259.6 MB, free: 1.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.006682, allocations: 10.66 kB / 259.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006688, allocations: 0 / 259.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.006697, allocations: 3.938 kB / 259.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.006839, allocations: 19.94 kB / 259.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006845, allocations: 7.984 kB / 259.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.006881, allocations: 11.95 kB / 259.6 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006887, allocations: 4 kB / 259.6 MB, free: 0.9961 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.147e-05/0.006949, allocations: 109.8 kB / 259.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.006974, allocations: 4 kB / 259.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.007001, allocations: 11.94 kB / 259.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007004, allocations: 7.984 kB / 259.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007005, allocations: 0 / 259.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007008, allocations: 0 / 259.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.007137, allocations: 81.86 kB / 259.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007138, allocations: 0 / 259.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.549e-05/0.007224, allocations: 16 kB / 259.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.00724, allocations: 11.94 kB / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007242, allocations: 0 / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.007249, allocations: 7.875 kB / 259.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007251, allocations: 0 / 259.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007252, allocations: 0 / 259.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.007383, allocations: 151.6 kB / 260 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.007395, allocations: 0 / 260 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.007468, allocations: 4 kB / 260 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.007481, allocations: 4 kB / 260 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.007488, allocations: 12.03 kB / 260 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.89e-05/0.007517, allocations: 26.64 kB / 260.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007517, allocations: 0 / 260.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.007736, allocations: 31.89 kB / 260.1 MB, free: 492 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.685e-05/0.007812, allocations: 76.41 kB / 260.2 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.007933, allocations: 23.94 kB / 260.2 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.007939, allocations: 0 / 260.2 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.008012, allocations: 15.98 kB / 260.2 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.00823, allocations: 97.3 kB / 260.3 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.009859, allocations: 255.7 kB / 260.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.009902, allocations: 71.27 kB / 260.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.009932, allocations: 8.375 kB / 260.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.009985, allocations: 59.38 kB / 260.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009986, allocations: 0 / 260.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Templates: time 0.002432/0.01242, allocations: 0.7372 MB / 261.4 MB, free: 15.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & (cd run_cvode && ../HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4_dassl.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical4_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.FirstSteps.Electrical4_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4_gbode.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical4_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.FirstSteps.Electrical4_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4_ida.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical4_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.FirstSteps.Electrical4_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.473250349983573]