Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.001303/0.001303, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.412/1.412, 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.001557/0.001557, allocations: 157.8 kB / 256 MB, free: 4.332 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.04012/0.04012, allocations: 6.664 MB / 319 MB, free: 5.391 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.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.489e-05, allocations: 2.281 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.002941/0.002966, allocations: 2.424 MB / 448.3 MB, free: 22.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004048, allocations: 0.5959 MB / 448.9 MB, free: 22.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.004186, allocations: 7.938 kB / 448.9 MB, free: 22.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004328, allocations: 39.58 kB / 449 MB, free: 22.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.004465, allocations: 59.42 kB / 449 MB, free: 22.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.004755, allocations: 71.78 kB / 449.1 MB, free: 21.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.005015, allocations: 266.8 kB / 449.3 MB, free: 21.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.005207, allocations: 79.28 kB / 449.4 MB, free: 21.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.005372, allocations: 151.7 kB / 449.6 MB, free: 21.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.005516, allocations: 79.72 kB / 449.6 MB, free: 21.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.005557, allocations: 24 kB / 449.7 MB, free: 21.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.769e-05/0.005595, allocations: 20 kB / 449.7 MB, free: 21.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.00564, allocations: 55.81 kB / 449.7 MB, free: 21.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.00572, allocations: 83.81 kB / 449.8 MB, free: 21.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.005995, allocations: 283 kB / 450.1 MB, free: 20.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.006001, allocations: 0 / 450.1 MB, free: 20.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006002, allocations: 0 / 450.1 MB, free: 20.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.006008, allocations: 0 / 450.1 MB, free: 20.97 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000763/0.006771, allocations: 461.7 kB / 450.5 MB, free: 20.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.006813, allocations: 11.98 kB / 450.6 MB, free: 20.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.00687, allocations: 24.8 kB / 450.6 MB, free: 20.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.007167, allocations: 178.5 kB / 450.8 MB, free: 20.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.007193, allocations: 16.88 kB / 450.8 MB, free: 20.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.007241, allocations: 24.38 kB / 450.8 MB, free: 20.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.007678, allocations: 269 kB / 451.1 MB, free: 19.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.007691, allocations: 3.938 kB / 451.1 MB, free: 19.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.007715, allocations: 12 kB / 451.1 MB, free: 19.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.007721, allocations: 4 kB / 451.1 MB, free: 19.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.00802, allocations: 153.9 kB / 451.2 MB, free: 19.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/0.008993, allocations: 0.7276 MB / 452 MB, free: 18.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.009263, allocations: 122.5 kB / 452.1 MB, free: 18.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.009378, allocations: 44.84 kB / 452.1 MB, free: 18.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.0094, allocations: 7.938 kB / 452.1 MB, free: 18.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.009419, allocations: 34.56 kB / 452.2 MB, free: 18.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.009421, allocations: 0 / 452.2 MB, free: 18.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001143/0.01056, allocations: 455.2 kB / 452.6 MB, free: 18.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.01059, allocations: 55.41 kB / 452.7 MB, free: 18.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01072, allocations: 175.2 kB / 452.8 MB, free: 18.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01074, allocations: 29.7 kB / 452.9 MB, free: 18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.0108, allocations: 168.1 kB / 453 MB, free: 17.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01083, allocations: 51.53 kB / 453.1 MB, free: 17.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.01088, allocations: 49.56 kB / 453.1 MB, free: 17.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.01093, allocations: 322.8 kB / 453.4 MB, free: 17.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01106, allocations: 47.97 kB / 453.5 MB, free: 17.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.01118, allocations: 93.92 kB / 453.6 MB, free: 17.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.01143, allocations: 157.7 kB / 453.7 MB, free: 17.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01143, allocations: 4 kB / 453.7 MB, free: 17.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003261/0.01176, allocations: 179.8 kB / 453.9 MB, free: 16.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01177, allocations: 4 kB / 453.9 MB, free: 16.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01178, allocations: 4 kB / 453.9 MB, free: 16.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.0118, allocations: 4 kB / 453.9 MB, free: 16.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.01202, allocations: 52.09 kB / 454 MB, free: 16.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.01203, allocations: 4 kB / 454 MB, free: 16.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01214, allocations: 11.98 kB / 454 MB, free: 16.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01215, allocations: 8 kB / 454 MB, free: 16.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.421e-05/0.01223, allocations: 137.7 kB / 454.1 MB, free: 16.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.01227, allocations: 11.91 kB / 454.1 MB, free: 16.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.01231, allocations: 17.47 kB / 454.2 MB, free: 16.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01232, allocations: 4 kB / 454.2 MB, free: 16.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01232, allocations: 3.984 kB / 454.2 MB, free: 16.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01233, allocations: 4 kB / 454.2 MB, free: 16.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.01251, allocations: 185.2 kB / 454.4 MB, free: 16.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01251, allocations: 4 kB / 454.4 MB, free: 16.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.01268, allocations: 35.92 kB / 454.4 MB, free: 16.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01268, allocations: 4 kB / 454.4 MB, free: 16.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01269, allocations: 3.984 kB / 454.4 MB, free: 16.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0127, allocations: 0 / 454.4 MB, free: 16.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.0127, allocations: 0 / 454.4 MB, free: 16.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.0131, allocations: 295.3 kB / 454.7 MB, free: 16.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.01315, allocations: 19.92 kB / 454.7 MB, free: 16.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.01318, allocations: 4 kB / 454.7 MB, free: 16.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.01331, allocations: 11.98 kB / 454.7 MB, free: 16.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.01336, allocations: 11.98 kB / 454.7 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.01337, allocations: 0 / 454.7 MB, free: 16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.799e-05/0.01343, allocations: 132.8 kB / 454.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01343, allocations: 0 / 454.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.01371, allocations: 44 kB / 454.9 MB, free: 15.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (converter.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.958e-05/0.01379, allocations: 99.25 kB / 455 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01409, allocations: 114.8 kB / 455.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.0141, allocations: 4 kB / 455.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01422, allocations: 51.86 kB / 455.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.01453, allocations: 27.86 kB / 455.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.01534, allocations: 426.8 kB / 455.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.01543, allocations: 125.1 kB / 455.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.0155, allocations: 13.48 kB / 455.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.01554, allocations: 20.5 kB / 455.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.01554, allocations: 4 kB / 455.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.004893/0.02044, allocations: 1.289 MB / 457.1 MB, free: 13.65 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3917089104652405] Failed to read output from testmodel.py, exit status != 0: 0.027801238000392914 0.038609918 0.030154620000000004 Calling exit ...