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.001363/0.001363, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.46/1.46, allocations: 177.2 MB / 200.1 MB, free: 9.012 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.002159/0.002159, allocations: 169.4 kB / 256.6 MB, free: 0.7461 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.04027/0.04027, allocations: 6.662 MB / 319.6 MB, free: 12.04 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 79.88 kB / 446.4 MB, free: 2.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3719, allocations: 55.58 MB / 0.4902 GB, free: 76.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002757/0.3746, allocations: 1.773 MB / 0.492 GB, free: 75.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.3754, allocations: 459.5 kB / 0.4924 GB, free: 74.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.3755, allocations: 0 / 0.4924 GB, free: 74.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3756, allocations: 25.7 kB / 0.4924 GB, free: 74.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3757, allocations: 30.11 kB / 0.4924 GB, free: 74.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.3758, allocations: 25.16 kB / 0.4925 GB, free: 74.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.376, allocations: 120.3 kB / 0.4926 GB, free: 74.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3761, allocations: 36.55 kB / 0.4926 GB, free: 74.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.3762, allocations: 53.53 kB / 0.4927 GB, free: 74.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.3763, allocations: 46.2 kB / 0.4927 GB, free: 74.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3763, allocations: 9.375 kB / 0.4927 GB, free: 74.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.759e-05/0.3763, allocations: 9.5 kB / 0.4927 GB, free: 74.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.3763, allocations: 22.44 kB / 0.4928 GB, free: 74.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.3764, allocations: 50.06 kB / 0.4928 GB, free: 74.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3766, allocations: 121.8 kB / 0.4929 GB, free: 74.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3766, allocations: 0 / 0.4929 GB, free: 74.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3766, allocations: 3.938 kB / 0.4929 GB, free: 74.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3766, allocations: 0 / 0.4929 GB, free: 74.54 MB / 446.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.0005594/0.3772, allocations: 339.3 kB / 0.4932 GB, free: 74.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.3772, allocations: 10.75 kB / 0.4933 GB, free: 74.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.3773, allocations: 10.55 kB / 0.4933 GB, free: 74.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.3775, allocations: 134.2 kB / 0.4934 GB, free: 74.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3775, allocations: 10.06 kB / 0.4934 GB, free: 74.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.3776, allocations: 14.06 kB / 0.4934 GB, free: 74.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3778, allocations: 129.5 kB / 0.4935 GB, free: 73.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3778, allocations: 0 / 0.4935 GB, free: 73.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3778, allocations: 4 kB / 0.4935 GB, free: 73.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3778, allocations: 7.469 kB / 0.4935 GB, free: 73.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.378, allocations: 58.72 kB / 0.4936 GB, free: 73.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.3787, allocations: 415.5 kB / 0.494 GB, free: 73.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3788, allocations: 53.47 kB / 0.4941 GB, free: 73.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3789, allocations: 19.22 kB / 0.4941 GB, free: 73.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.3789, allocations: 0 / 0.4941 GB, free: 73.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3789, allocations: 37.69 kB / 0.4941 GB, free: 73.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3789, allocations: 0 / 0.4941 GB, free: 73.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.3791, allocations: 67.61 kB / 0.4942 GB, free: 73.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3791, allocations: 51.41 kB / 0.4942 GB, free: 73.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.3792, allocations: 135 kB / 0.4943 GB, free: 73.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3792, allocations: 28.95 kB / 0.4944 GB, free: 73.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.3793, allocations: 121.3 kB / 0.4945 GB, free: 73.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.3793, allocations: 19.06 kB / 0.4945 GB, free: 73.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3793, allocations: 28.08 kB / 0.4945 GB, free: 73.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.3794, allocations: 317.5 kB / 0.4948 GB, free: 72.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.3794, allocations: 10.5 kB / 0.4948 GB, free: 72.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.3794, allocations: 39.47 kB / 0.4949 GB, free: 72.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.3795, allocations: 49.89 kB / 0.4949 GB, free: 72.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3795, allocations: 0 / 0.4949 GB, free: 72.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.947e-05/0.3796, allocations: 77.72 kB / 0.495 GB, free: 72.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3796, allocations: 5.906 kB / 0.495 GB, free: 72.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3796, allocations: 4.062 kB / 0.495 GB, free: 72.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3796, allocations: 3.219 kB / 0.495 GB, free: 72.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.3797, allocations: 13 kB / 0.495 GB, free: 72.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3797, allocations: 7.438 kB / 0.495 GB, free: 72.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.3798, allocations: 7.234 kB / 0.495 GB, free: 72.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3798, allocations: 4 kB / 0.4951 GB, free: 72.64 MB / 446.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 6.789e-05/0.3799, allocations: 123.9 kB / 0.4952 GB, free: 72.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3799, allocations: 7.203 kB / 0.4952 GB, free: 72.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.3799, allocations: 11.22 kB / 0.4952 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3799, allocations: 0 / 0.4952 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3799, allocations: 0 / 0.4952 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3799, allocations: 3.375 kB / 0.4952 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.38, allocations: 124.6 kB / 0.4953 GB, free: 72.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.38, allocations: 7.938 kB / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.3801, allocations: 13.44 kB / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3801, allocations: 0 / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3801, allocations: 0 / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3801, allocations: 3.531 kB / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3801, allocations: 0 / 0.4953 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3802, allocations: 165.7 kB / 0.4955 GB, free: 72.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.3803, allocations: 11.27 kB / 0.4955 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3803, allocations: 3.125 kB / 0.4955 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.3804, allocations: 3.062 kB / 0.4955 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.3804, allocations: 8 kB / 0.4955 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3804, allocations: 0 / 0.4955 GB, free: 72.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.3804, allocations: 102.9 kB / 0.4956 GB, free: 72.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3804, allocations: 3.938 kB / 0.4956 GB, free: 72.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3807, allocations: 31.55 kB / 0.4956 GB, free: 72.1 MB / 446.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 7.042e-05/0.3807, allocations: 89 kB / 0.4957 GB, free: 72.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3808, allocations: 34.8 kB / 0.4958 GB, free: 72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3808, allocations: 0 / 0.4958 GB, free: 72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.3809, allocations: 9.344 kB / 0.4958 GB, free: 72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3811, allocations: 22.42 kB / 0.4958 GB, free: 71.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.3816, allocations: 279.5 kB / 0.4961 GB, free: 71.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.3816, allocations: 93.55 kB / 0.4962 GB, free: 71.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.3817, allocations: 6.516 kB / 0.4962 GB, free: 71.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.3817, allocations: 11.72 kB / 0.4962 GB, free: 71.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3817, allocations: 0 / 0.4962 GB, free: 71.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003063/0.3848, allocations: 0.6034 MB / 0.4968 GB, free: 71.57 MB / 446.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.110679134959355] Failed to read output from testmodel.py, exit status != 0: 0.39326431800145656 0.403072186 0.024063295000000002 Calling exit ...