Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001011/0.001011, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002386, 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.8951/0.8951, allocations: 177.2 MB / 188.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1618/1.057, allocations: 53.66 MB / 242 MB, free: 2.594 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.001056/0.001056, allocations: 148.9 kB / 242.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002408, allocations: 478 kB / 243.4 MB, free: 1.27 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.05364/0.05364, allocations: 6.659 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01211/0.06575, allocations: 2.662 MB / 253.5 MB, free: 7.391 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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.588e-05, allocations: 2.312 kB / 254.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001252/0.001268, allocations: 0.5543 MB / 255.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.463e-05/0.001313, allocations: 23.89 kB / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.001328, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.577e-06/0.001331, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.624e-06/0.001339, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.927e-05/0.001378, allocations: 0 / 255.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.085e-05/0.001429, allocations: 23.86 kB / 255.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.001489, allocations: 4 kB / 255.3 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.001532, allocations: 4 kB / 255.3 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.001577, allocations: 3.984 kB / 255.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.001593, allocations: 4 kB / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-06/0.001598, allocations: 0 / 255.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.001613, allocations: 3.938 kB / 255.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.001626, allocations: 4 kB / 255.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.043e-05/0.001676, allocations: 7.984 kB / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.001689, allocations: 0 / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00169, allocations: 0 / 255.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.001699, allocations: 4 kB / 255.4 MB, free: 5.473 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.000306/0.002005, allocations: 224.7 kB / 255.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.002037, allocations: 8.031 kB / 255.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.002066, allocations: 4.938 kB / 255.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.002138, allocations: 109.7 kB / 255.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.002146, allocations: 384 / 255.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.002169, allocations: 8.359 kB / 255.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.208e-05/0.002231, allocations: 38.2 kB / 255.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.002237, allocations: 192 / 255.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.002242, allocations: 4.359 kB / 255.8 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.002248, allocations: 8.312 kB / 255.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.002266, allocations: 7.938 kB / 255.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.987e-05/0.002356, allocations: 60.98 kB / 255.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.002407, allocations: 34.59 kB / 255.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.002423, allocations: 12.86 kB / 255.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.002429, allocations: 0 / 255.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.002449, allocations: 30.56 kB / 255.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.00245, allocations: 0 / 255.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.084e-05/0.002541, allocations: 45.72 kB / 256 MB, free: 4.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.00257, allocations: 51.41 kB / 256 MB, free: 4.727 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.002621, allocations: 106.7 kB / 256.1 MB, free: 4.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.002629, allocations: 25.7 kB / 256.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.002652, allocations: 88.12 kB / 256.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.002675, allocations: 7.953 kB / 256.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.002701, allocations: 13.72 kB / 256.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.002764, allocations: 318.8 kB / 256.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.002773, allocations: 7.984 kB / 256.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-06/0.002779, allocations: 0 / 256.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.002803, allocations: 16.8 kB / 256.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.002805, allocations: 0 / 256.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.481e-05/0.00285, allocations: 42.16 kB / 256.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.002861, allocations: 10.66 kB / 256.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.002867, allocations: 4 kB / 256.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.002874, allocations: 0 / 256.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.003003, allocations: 15.98 kB / 256.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.003006, allocations: 0 / 256.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.003018, allocations: 8 kB / 256.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.003024, allocations: 7.922 kB / 256.7 MB, free: 4.023 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.506e-05/0.003069, allocations: 109.8 kB / 256.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.003076, allocations: 3.984 kB / 256.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.003097, allocations: 7.688 kB / 256.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.003098, allocations: 7.938 kB / 256.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.003101, allocations: 4 kB / 256.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003103, allocations: 3.938 kB / 256.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.662e-05/0.00316, allocations: 65.84 kB / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003161, allocations: 0 / 256.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.00322, allocations: 11.98 kB / 256.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.003225, allocations: 4 kB / 256.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.003226, allocations: 0 / 256.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.003233, allocations: 0 / 256.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.003234, allocations: 0 / 256.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.003234, allocations: 4 kB / 256.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.003313, allocations: 77.03 kB / 257 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.003322, allocations: 4 kB / 257 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.003331, allocations: 0 / 257 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.00334, allocations: 0 / 257 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.003342, allocations: 3.938 kB / 257 MB, free: 3.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.388e-06/0.003351, allocations: 8.859 kB / 257 MB, free: 3.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003351, allocations: 0 / 257 MB, free: 3.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.003485, allocations: 4 kB / 257 MB, free: 3.656 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 6.045e-05/0.003545, allocations: 76.41 kB / 257.1 MB, free: 3.574 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.003631, allocations: 16.03 kB / 257.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.003636, allocations: 4 kB / 257.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.003656, allocations: 11.98 kB / 257.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.213e-05/0.003738, allocations: 33.64 kB / 257.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.003893, allocations: 116.5 kB / 257.2 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.00392, allocations: 59.3 kB / 257.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.003935, allocations: 3.984 kB / 257.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.003974, allocations: 51.38 kB / 257.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.003975, allocations: 0 / 257.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of Templates: time 0.001636/0.005611, allocations: 386.8 kB / 257.7 MB, free: 2.863 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & (cd run_cvode && ../HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1_dassl.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical1_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.FirstSteps.Electrical1_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1_gbode.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical1_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.FirstSteps.Electrical1_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1_ida.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical1_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.FirstSteps.Electrical1_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4813322871923447]