Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 117.9 kB / 19.18 MB, free: 3.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 208.9 kB / 22.13 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09623, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.1756/0.2718, allocations: 5.099 MB / 432.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.2745, allocations: 1.859 MB / 434.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.2747, allocations: 13.88 kB / 434.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.2768, allocations: 1.182 MB / 436 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.2779, allocations: 0.631 MB / 436.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2789, allocations: 0.6037 MB / 437.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000704/0.2796, allocations: 0.7612 MB / 438 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.2802, allocations: 439.6 kB / 438.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.2806, allocations: 332.8 kB / 438.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.281, allocations: 431.3 kB / 439.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2811, allocations: 67.28 kB / 439.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.2816, allocations: 260.1 kB / 439.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2817, allocations: 157.2 kB / 439.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.282, allocations: 379.5 kB / 440 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.2831, allocations: 1.028 MB / 441 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2831, allocations: 1.156 kB / 441 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2831, allocations: 0 / 441 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.2832, allocations: 0 / 441 MB, free: 6.004 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003792/0.287, allocations: 1.403 MB / 442.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.287, allocations: 8.469 kB / 442.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/0.293, allocations: 0.7863 MB / 443.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.2936, allocations: 411.7 kB / 443.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.2937, allocations: 62.47 kB / 443.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2938, allocations: 78.97 kB / 443.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.2952, allocations: 0.7736 MB / 444.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.2952, allocations: 5.047 kB / 444.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.2953, allocations: 31.77 kB / 444.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.2953, allocations: 19.31 kB / 444.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2969, allocations: 0.9095 MB / 445.5 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.3006, allocations: 2.766 MB / 448.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.3025, allocations: 2.125 MB / 450.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.303, allocations: 296.2 kB / 450.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.3032, allocations: 189.1 kB / 450.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3032, allocations: 38.84 kB / 450.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.254e-06/0.3032, allocations: 0 / 450.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003826/0.307, allocations: 1.342 MB / 452.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3071, allocations: 60.02 kB / 452.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.3074, allocations: 293.4 kB / 452.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.3075, allocations: 36.23 kB / 452.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3077, allocations: 293.9 kB / 452.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.3079, allocations: 265.8 kB / 453.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.3081, allocations: 127 kB / 453.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3083, allocations: 360.7 kB / 453.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.3087, allocations: 235.6 kB / 453.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.3093, allocations: 368.3 kB / 454.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3104, allocations: 0.6287 MB / 454.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3104, allocations: 1.312 kB / 454.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001843/0.3122, allocations: 0.8621 MB / 455.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3123, allocations: 7.109 kB / 455.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3123, allocations: 2.719 kB / 455.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/0.3131, allocations: 207.8 kB / 456 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.3136, allocations: 132.1 kB / 456.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.3172, allocations: 2.706 MB / 458.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.3177, allocations: 75.36 kB / 458.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.3177, allocations: 31.05 kB / 458.9 MB, free: 10.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.318, allocations: 194.8 kB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3181, allocations: 50.67 kB / 459.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.3201, allocations: 0.8928 MB / 460 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3201, allocations: 11.84 kB / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3201, allocations: 7.5 kB / 460.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3201, allocations: 5.25 kB / 460.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.323, allocations: 1.693 MB / 461.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.323, allocations: 0 / 461.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.3235, allocations: 112.4 kB / 461.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/0.3242, allocations: 203.9 kB / 462.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.3243, allocations: 20.17 kB / 462.1 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.3278, allocations: 2.701 MB / 464.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3278, allocations: 0 / 464.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.3302, allocations: 1.254 MB / 466 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3303, allocations: 135.5 kB / 466.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.3304, allocations: 23.62 kB / 466.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.3307, allocations: 31.2 kB / 466.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3309, allocations: 58.3 kB / 466.3 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3309, allocations: 23.42 kB / 466.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.3311, allocations: 203.7 kB / 466.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3311, allocations: 3.938 kB / 466.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.3319, allocations: 238.3 kB / 466.7 MB, free: 5.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.3322, allocations: 154.8 kB / 466.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3338, allocations: 0.8045 MB / 467.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3338, allocations: 4.062 kB / 467.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.3347, allocations: 0.5135 MB / 468.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3352, allocations: 65.77 kB / 468.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3372, allocations: 1.203 MB / 469.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.3377, allocations: 0.8898 MB / 470.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.3379, allocations: 59.83 kB / 470.4 MB, free: 3.363 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3379, allocations: 0 / 470.4 MB, free: 3.363 MB / 366.1 MB Notification: Performance of Templates: time 0.01389/0.3518, allocations: 10.24 MB / 480.7 MB, free: 11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.653141105081886] Failed to read output from testmodel.py, exit status != 0: 0.3596185108181089 0.37229342400000004 0.086308592 Calling exit ...