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.001265/0.001265, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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 1.326/1.326, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 MB " [Timeout remaining time 178] 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.001477/0.001477, allocations: 160.1 kB / 256 MB, free: 4.32 MB / 238.1 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.03775/0.03775, allocations: 6.66 MB / 319 MB, free: 5.387 MB / 302.1 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.383e-06/1.383e-06, allocations: 0 / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.597e-05, allocations: 9.031 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.00189/0.001906, allocations: 1.776 MB / 447.7 MB, free: 23.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006028/0.002509, allocations: 474.8 kB / 448.1 MB, free: 22.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.002584, allocations: 4 kB / 448.1 MB, free: 22.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.111e-05/0.002675, allocations: 11.86 kB / 448.1 MB, free: 22.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.002739, allocations: 43.62 kB / 448.2 MB, free: 22.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.002848, allocations: 27.95 kB / 448.2 MB, free: 22.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.002981, allocations: 123.4 kB / 448.3 MB, free: 22.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003095, allocations: 41.16 kB / 448.4 MB, free: 22.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.003167, allocations: 63.89 kB / 448.4 MB, free: 22.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.003237, allocations: 39.88 kB / 448.5 MB, free: 22.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.003265, allocations: 12 kB / 448.5 MB, free: 22.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.003285, allocations: 8 kB / 448.5 MB, free: 22.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.003307, allocations: 23.86 kB / 448.5 MB, free: 22.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.00335, allocations: 43.91 kB / 448.6 MB, free: 22.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.00348, allocations: 115.6 kB / 448.7 MB, free: 22.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003482, allocations: 0 / 448.7 MB, free: 22.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003482, allocations: 0 / 448.7 MB, free: 22.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.003491, allocations: 0 / 448.7 MB, free: 22.41 MB / 334.1 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.0004162/0.003907, allocations: 341.8 kB / 449 MB, free: 22.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.00394, allocations: 11.98 kB / 449 MB, free: 22.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.003975, allocations: 16.89 kB / 449 MB, free: 22.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.004136, allocations: 133.6 kB / 449.2 MB, free: 21.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004149, allocations: 8.375 kB / 449.2 MB, free: 21.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.004175, allocations: 12.38 kB / 449.2 MB, free: 21.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.004338, allocations: 127.6 kB / 449.3 MB, free: 21.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.004348, allocations: 4.125 kB / 449.3 MB, free: 21.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.00436, allocations: 4.375 kB / 449.3 MB, free: 21.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004366, allocations: 7.938 kB / 449.3 MB, free: 21.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.004457, allocations: 63.97 kB / 449.4 MB, free: 21.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.005, allocations: 410.5 kB / 449.8 MB, free: 21.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.005081, allocations: 46.5 kB / 449.8 MB, free: 21.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.005107, allocations: 16.86 kB / 449.9 MB, free: 21.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.005117, allocations: 0 / 449.9 MB, free: 21.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.005129, allocations: 38.5 kB / 449.9 MB, free: 21.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.00513, allocations: 0 / 449.9 MB, free: 21.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001442/0.005274, allocations: 61.73 kB / 450 MB, free: 21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.005292, allocations: 63.28 kB / 450 MB, free: 20.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.005367, allocations: 130.1 kB / 450.1 MB, free: 20.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.005375, allocations: 25.7 kB / 450.2 MB, free: 20.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.005413, allocations: 123.8 kB / 450.3 MB, free: 20.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.005422, allocations: 15.89 kB / 450.3 MB, free: 20.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.005453, allocations: 21.72 kB / 450.3 MB, free: 20.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.005493, allocations: 314.8 kB / 450.6 MB, free: 20.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.005517, allocations: 11.98 kB / 450.6 MB, free: 20.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.005545, allocations: 42.56 kB / 450.7 MB, free: 20.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.005597, allocations: 50.5 kB / 450.7 MB, free: 20.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005598, allocations: 0 / 450.7 MB, free: 20.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.144e-05/0.00569, allocations: 81.58 kB / 450.8 MB, free: 20.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.0057, allocations: 7.938 kB / 450.8 MB, free: 20.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005704, allocations: 192 / 450.8 MB, free: 20.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005717, allocations: 0 / 450.8 MB, free: 20.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.005801, allocations: 16 kB / 450.8 MB, free: 20.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005806, allocations: 4.062 kB / 450.8 MB, free: 20.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.005848, allocations: 19.86 kB / 450.9 MB, free: 20.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.005854, allocations: 4 kB / 450.9 MB, free: 20.01 MB / 334.1 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 4.55e-05/0.005899, allocations: 113.8 kB / 451 MB, free: 19.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.005925, allocations: 7.938 kB / 451 MB, free: 19.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.005944, allocations: 8 kB / 451 MB, free: 19.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005946, allocations: 7.938 kB / 451 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.00595, allocations: 64 / 451 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005952, allocations: 4 kB / 451 MB, free: 19.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.006057, allocations: 137.2 kB / 451.1 MB, free: 19.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006058, allocations: 4 kB / 451.1 MB, free: 19.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.006118, allocations: 11.98 kB / 451.2 MB, free: 19.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.006119, allocations: 0 / 451.2 MB, free: 19.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.006126, allocations: 3.938 kB / 451.2 MB, free: 19.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006127, allocations: 0 / 451.2 MB, free: 19.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006128, allocations: 4 kB / 451.2 MB, free: 19.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.006238, allocations: 155.5 kB / 451.3 MB, free: 19.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.006251, allocations: 7.938 kB / 451.3 MB, free: 19.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.006266, allocations: 7.969 kB / 451.3 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.006344, allocations: 0 / 451.3 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.006361, allocations: 8.062 kB / 451.3 MB, free: 19.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006365, allocations: 3.938 kB / 451.3 MB, free: 19.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.729e-05/0.006402, allocations: 103.1 kB / 451.4 MB, free: 19.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006402, allocations: 3.938 kB / 451.4 MB, free: 19.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.006628, allocations: 23.89 kB / 451.5 MB, free: 19.35 MB / 334.1 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 6.048e-05/0.006688, allocations: 103.2 kB / 451.6 MB, free: 19.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.006772, allocations: 23.94 kB / 451.6 MB, free: 19.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006773, allocations: 0 / 451.6 MB, free: 19.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.00679, allocations: 20.05 kB / 451.6 MB, free: 19.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.00702, allocations: 12 kB / 451.6 MB, free: 19.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.007389, allocations: 241.5 kB / 451.9 MB, free: 18.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.007434, allocations: 92.27 kB / 452 MB, free: 18.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.858e-05/0.007463, allocations: 7.781 kB / 452 MB, free: 18.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.007484, allocations: 12.5 kB / 452 MB, free: 18.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.007485, allocations: 0 / 452 MB, free: 18.79 MB / 334.1 MB Notification: Performance of Templates: time 0.002782/0.01027, allocations: 0.5993 MB / 452.6 MB, free: 18.2 MB / 334.1 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 & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.03227898105979] Failed to read output from testmodel.py, exit status != 0: 0.01621631160378456 0.025898056000000003 0.02041942 Calling exit ...