Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.0009728/0.0009728, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002331, 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.9496/0.9496, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1513/1.101, allocations: 53.66 MB / 242 MB, free: 2.609 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.000773/0.000773, allocations: 143.4 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000989/0.001762, allocations: 494.4 kB / 243.4 MB, free: 1.273 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.02438/0.02438, allocations: 6.651 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003909/0.02829, allocations: 2.668 MB / 253.5 MB, free: 7.402 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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 254.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.526e-06/1.003e-05, allocations: 8.984 kB / 254.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.0009066/0.0009167, allocations: 0.5559 MB / 255.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 3.654e-05/0.0009532, allocations: 27.89 kB / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.0009682, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.296e-06/0.0009715, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.693e-05/0.0009884, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.972e-05/0.001018, allocations: 11.86 kB / 255.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.001077, allocations: 23.92 kB / 255.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.001111, allocations: 4 kB / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.001154, allocations: 7.984 kB / 255.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.001198, allocations: 7.938 kB / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.001212, allocations: 0 / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-06/0.001218, allocations: 0 / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.001233, allocations: 4 kB / 255.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.001246, allocations: 0 / 255.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.261e-05/0.001298, allocations: 19.86 kB / 255.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.001311, allocations: 0 / 255.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.001311, allocations: 0 / 255.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.001319, allocations: 4 kB / 255.4 MB, free: 5.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002852/0.001605, allocations: 228.7 kB / 255.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.001636, allocations: 12.03 kB / 255.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.00166, allocations: 0.9375 kB / 255.7 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.001727, allocations: 109.8 kB / 255.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.001735, allocations: 384 / 255.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.001751, allocations: 384 / 255.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.754e-05/0.001809, allocations: 38.25 kB / 255.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.001816, allocations: 4.125 kB / 255.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-06/0.00182, allocations: 384 / 255.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.001825, allocations: 4.375 kB / 255.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.001841, allocations: 11.94 kB / 255.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.861e-05/0.00192, allocations: 61.03 kB / 255.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.00196, allocations: 22.58 kB / 255.9 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.001975, allocations: 8.859 kB / 255.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.001983, allocations: 4 kB / 255.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.00201, allocations: 38.69 kB / 255.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.002011, allocations: 0 / 255.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 7.907e-05/0.00209, allocations: 45.81 kB / 256 MB, free: 4.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.002118, allocations: 55.39 kB / 256 MB, free: 4.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.62e-05/0.002164, allocations: 102.7 kB / 256.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.002171, allocations: 29.7 kB / 256.2 MB, free: 4.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.002315, allocations: 80.14 kB / 256.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.002335, allocations: 3.953 kB / 256.3 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.002356, allocations: 25.69 kB / 256.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.002423, allocations: 318.8 kB / 256.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.002429, allocations: 0 / 256.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.002434, allocations: 4 kB / 256.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.002459, allocations: 20.78 kB / 256.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00246, allocations: 0 / 256.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.802e-05/0.002498, allocations: 37.69 kB / 256.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.00251, allocations: 18.91 kB / 256.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.002514, allocations: 4 kB / 256.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.002522, allocations: 0 / 256.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.002647, allocations: 11.98 kB / 256.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00265, allocations: 0 / 256.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.00266, allocations: 3.953 kB / 256.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.002663, allocations: 7.938 kB / 256.7 MB, free: 4.008 MB / 250.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 (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 prepare postOptimizeDAE: time 4.268e-05/0.002706, allocations: 113.8 kB / 256.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.002712, allocations: 7.938 kB / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.002731, allocations: 3.688 kB / 256.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.002733, allocations: 4 kB / 256.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.002734, allocations: 0 / 256.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.002737, allocations: 0 / 256.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.961e-05/0.002786, allocations: 77.81 kB / 256.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.002787, allocations: 0 / 256.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.002832, allocations: 12 kB / 256.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.002839, allocations: 3.984 kB / 256.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.00284, allocations: 0 / 256.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.002846, allocations: 0 / 256.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.002847, allocations: 4 kB / 256.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.002848, allocations: 0 / 256.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.002922, allocations: 69.06 kB / 257 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-06/0.002928, allocations: 0 / 257 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.002936, allocations: 4 kB / 257 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.002947, allocations: 11.92 kB / 257 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.002948, allocations: 0 / 257 MB, free: 3.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.197e-06/0.002957, allocations: 9.234 kB / 257 MB, free: 3.641 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002957, allocations: 0 / 257 MB, free: 3.641 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.343e-05/0.003051, allocations: 4 kB / 257 MB, free: 3.637 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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 5.55e-05/0.003106, allocations: 72.56 kB / 257.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.003179, allocations: 23.94 kB / 257.1 MB, free: 3.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.003184, allocations: 4 kB / 257.1 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.003201, allocations: 12 kB / 257.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.414e-05/0.003275, allocations: 33.64 kB / 257.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.003795, allocations: 140.4 kB / 257.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.49e-05/0.00382, allocations: 55.36 kB / 257.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.493e-05/0.003835, allocations: 3.984 kB / 257.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.003878, allocations: 55.38 kB / 257.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.003879, allocations: 0 / 257.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of Templates: time 0.001465/0.005343, allocations: 378.4 kB / 257.8 MB, free: 2.824 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & (cd run_cvode && ../HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2_dassl.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical2_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.FirstSteps.Electrical2_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2_gbode.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical2_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.FirstSteps.Electrical2_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2_ida.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical2_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.FirstSteps.Electrical2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5277381502091885]