Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001171/0.001171, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002921, 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.9462/0.9462, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1565/1.103, allocations: 53.66 MB / 242 MB, free: 2.59 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.0008126/0.0008126, allocations: 156.2 kB / 242.9 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001962, allocations: 475.7 kB / 243.4 MB, free: 1.266 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.02471/0.02471, allocations: 6.664 MB / 250.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00434/0.02905, allocations: 2.657 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 254.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.666e-05, allocations: 2.312 kB / 254.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001754/0.001771, allocations: 1.331 MB / 256.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 4.211e-05/0.001813, allocations: 23.89 kB / 256.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.001827, allocations: 0 / 256.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.655e-06/0.001835, allocations: 3.938 kB / 256.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.092e-05/0.001856, allocations: 3.938 kB / 256.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.071e-05/0.001886, allocations: 4 kB / 256.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.00194, allocations: 15.92 kB / 256.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.001979, allocations: 4 kB / 256.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.002031, allocations: 15.92 kB / 256.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.00208, allocations: 7.984 kB / 256.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.002093, allocations: 0 / 256.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-06/0.002099, allocations: 0 / 256.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.002114, allocations: 4 kB / 256.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.00213, allocations: 4 kB / 256.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.776e-05/0.002188, allocations: 11.88 kB / 256.2 MB, free: 4.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.002202, allocations: 0 / 256.2 MB, free: 4.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.002204, allocations: 3.984 kB / 256.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.002213, allocations: 0 / 256.2 MB, free: 4.668 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.0003092/0.002522, allocations: 228.7 kB / 256.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.002553, allocations: 12.02 kB / 256.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.002581, allocations: 0.9375 kB / 256.4 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.002648, allocations: 113.7 kB / 256.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.002657, allocations: 384 / 256.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.002678, allocations: 4.375 kB / 256.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.002739, allocations: 38.25 kB / 256.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.002745, allocations: 192 / 256.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-06/0.002749, allocations: 384 / 256.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.002754, allocations: 384 / 256.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.002771, allocations: 7.938 kB / 256.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.328e-05/0.002854, allocations: 69.02 kB / 256.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.535e-05/0.0029, allocations: 34.55 kB / 256.7 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.002915, allocations: 12.86 kB / 256.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.00292, allocations: 0 / 256.7 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.002939, allocations: 30.56 kB / 256.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.002939, allocations: 0 / 256.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 8.271e-05/0.003022, allocations: 41.78 kB / 256.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.003049, allocations: 55.34 kB / 256.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.003094, allocations: 102.7 kB / 256.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.003106, allocations: 25.7 kB / 256.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.003125, allocations: 88.12 kB / 257 MB, free: 3.688 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.003148, allocations: 11.95 kB / 257 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.003167, allocations: 13.72 kB / 257 MB, free: 3.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.003232, allocations: 322.8 kB / 257.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.003239, allocations: 4 kB / 257.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.003246, allocations: 7.938 kB / 257.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.003271, allocations: 16.84 kB / 257.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003272, allocations: 0 / 257.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.949e-05/0.003312, allocations: 45.62 kB / 257.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.003323, allocations: 6.969 kB / 257.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.003327, allocations: 0 / 257.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.003335, allocations: 4 kB / 257.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.003467, allocations: 8 kB / 257.5 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.00347, allocations: 4 kB / 257.5 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.003483, allocations: 7.953 kB / 257.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.003486, allocations: 3.938 kB / 257.5 MB, free: 3.219 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.341e-05/0.003529, allocations: 113.8 kB / 257.6 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.003536, allocations: 4 kB / 257.6 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.003557, allocations: 7.688 kB / 257.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.003558, allocations: 0 / 257.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.00356, allocations: 0 / 257.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.003562, allocations: 4 kB / 257.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.116e-05/0.003614, allocations: 70.36 kB / 257.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.003614, allocations: 0 / 257.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.003668, allocations: 11.98 kB / 257.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.003673, allocations: 0 / 257.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.003674, allocations: 4 kB / 257.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00368, allocations: 0 / 257.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.003682, allocations: 3.984 kB / 257.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.003682, allocations: 0 / 257.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.003761, allocations: 76.97 kB / 257.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.003769, allocations: 12.03 kB / 257.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.003776, allocations: 0 / 257.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-06/0.003785, allocations: 0 / 257.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.003787, allocations: 0 / 257.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.699e-06/0.003796, allocations: 12.84 kB / 257.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003796, allocations: 0 / 257.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.937e-05/0.003886, allocations: 4 kB / 257.8 MB, free: 2.848 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.662e-05/0.003942, allocations: 72.42 kB / 257.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.004017, allocations: 23.88 kB / 257.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.004022, allocations: 7.984 kB / 257.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.004036, allocations: 8 kB / 257.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.707e-05/0.004113, allocations: 37.66 kB / 257.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.004657, allocations: 136.4 kB / 258.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.004684, allocations: 51.36 kB / 258.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.848e-05/0.004702, allocations: 4 kB / 258.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.004737, allocations: 51.38 kB / 258.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.004738, allocations: 0 / 258.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of Templates: time 0.00154/0.006278, allocations: 391.6 kB / 258.6 MB, free: 2.031 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & (cd run_cvode && ../HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3_dassl.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical3_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.FirstSteps.Electrical3_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3_gbode.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical3_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.FirstSteps.Electrical3_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3_ida.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.FirstSteps.Electrical3_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.FirstSteps.Electrical3_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.531994443386793]