Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.0006982/0.0006982, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001635, 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.9455/0.9455, allocations: 177.2 MB / 188.4 MB, free: 4.383 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1907/1.136, 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.0008063/0.0008063, allocations: 154.3 kB / 242.9 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001958, 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.02905/0.02905, allocations: 6.65 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005525/0.03458, 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.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 254.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.99e-05, allocations: 2.312 kB / 254.7 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002542/0.002562, allocations: 1.922 MB / 256.7 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.003213, allocations: 499.3 kB / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.00328, allocations: 0 / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.945e-05/0.00334, allocations: 23.78 kB / 257.2 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.006423, allocations: 31.7 kB / 257.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.087e-05/0.006513, allocations: 23.97 kB / 257.2 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.006669, allocations: 123.4 kB / 257.4 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.006774, allocations: 33.89 kB / 257.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.006882, allocations: 87.8 kB / 257.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.006963, allocations: 39.89 kB / 257.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.006984, allocations: 8 kB / 257.5 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.007002, allocations: 12 kB / 257.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.007026, allocations: 19.88 kB / 257.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.007068, allocations: 35.94 kB / 257.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.007203, allocations: 71.7 kB / 257.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.007218, allocations: 0 / 257.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007219, allocations: 0 / 257.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.007229, allocations: 0 / 257.7 MB, free: 3.152 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.0004738/0.007703, allocations: 344.1 kB / 258 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.007737, allocations: 8.031 kB / 258 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.007782, allocations: 20.92 kB / 258 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.007931, allocations: 125.6 kB / 258.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.007944, allocations: 8.375 kB / 258.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.007968, allocations: 16.36 kB / 258.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.008101, allocations: 100.8 kB / 258.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.008109, allocations: 192 / 258.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.008121, allocations: 8.375 kB / 258.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.008129, allocations: 3.938 kB / 258.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.008178, allocations: 33.45 kB / 258.3 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.00865, allocations: 338.2 kB / 258.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/0.008718, allocations: 38.55 kB / 258.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.008735, allocations: 12.86 kB / 258.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.008742, allocations: 0 / 258.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.008763, allocations: 34.5 kB / 258.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.008764, allocations: 8 kB / 258.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001113/0.008875, allocations: 45.72 kB / 258.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.008904, allocations: 55.41 kB / 258.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.008983, allocations: 134.2 kB / 259 MB, free: 1.715 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.008993, allocations: 29.64 kB / 259 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.009042, allocations: 119.8 kB / 259.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.009056, allocations: 15.88 kB / 259.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.009089, allocations: 21.72 kB / 259.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.009169, allocations: 314.8 kB / 259.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.009182, allocations: 11.98 kB / 259.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/0.01223, allocations: 30.52 kB / 259.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.01229, allocations: 38.55 kB / 259.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01229, allocations: 0 / 259.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.114e-05/0.01238, allocations: 65.8 kB / 259.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01239, allocations: 6.656 kB / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.0124, allocations: 0 / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01241, allocations: 7.938 kB / 259.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01255, allocations: 23.91 kB / 259.6 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01256, allocations: 8.062 kB / 259.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.01259, allocations: 7.891 kB / 259.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01259, allocations: 8 kB / 259.7 MB, free: 0.9727 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.293e-05/0.01266, allocations: 105.8 kB / 259.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01268, allocations: 4 kB / 259.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.01271, allocations: 19.92 kB / 259.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01271, allocations: 0 / 259.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.01271, allocations: 0 / 259.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01272, allocations: 0 / 259.8 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.01284, allocations: 81.88 kB / 259.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01284, allocations: 4 kB / 259.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.01291, allocations: 15.92 kB / 259.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01293, allocations: 15.94 kB / 259.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01293, allocations: 0 / 259.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.01293, allocations: 3.938 kB / 259.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01294, allocations: 0 / 259.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01294, allocations: 0 / 259.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.01307, allocations: 147.6 kB / 260 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01308, allocations: 4.062 kB / 260.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.01315, allocations: 8 kB / 260.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.01316, allocations: 7.969 kB / 260.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.01316, allocations: 7.938 kB / 260.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.01319, allocations: 16.84 kB / 260.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 4 kB / 260.1 MB, free: 500 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.01338, allocations: 23.89 kB / 260.1 MB, free: 476 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 8.619e-05/0.01346, allocations: 84.34 kB / 260.2 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.01357, allocations: 16 kB / 260.2 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.01358, allocations: 4 kB / 260.2 MB, free: 360 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.01363, allocations: 16.17 kB / 260.2 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01384, allocations: 101 kB / 260.3 MB, free: 224 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.0183, allocations: 263.7 kB / 260.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01834, allocations: 67.33 kB / 260.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.01838, allocations: 8 kB / 260.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.01844, allocations: 63.39 kB / 260.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01844, allocations: 0 / 260.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Templates: time 0.005642/0.02408, allocations: 0.7309 MB / 261.5 MB, free: 15.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & (cd run_cvode && ../HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5_dassl.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical5_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.FirstSteps.Electrical5_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5_gbode.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical5_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.FirstSteps.Electrical5_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5_ida.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical5_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.FirstSteps.Electrical5_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5145955216139555]