Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.001333/0.001333, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001436/0.001436, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 75.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2955, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005135/0.3007, allocations: 3.636 MB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3023, allocations: 0.892 MB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.3025, allocations: 11.94 kB / 436.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3028, allocations: 75.22 kB / 436.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.3031, allocations: 154.7 kB / 436.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.3036, allocations: 195.6 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006973/0.3043, allocations: 0.6116 MB / 437.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.3046, allocations: 168.8 kB / 437.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3049, allocations: 239.2 kB / 438.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.3052, allocations: 294.8 kB / 438.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.3053, allocations: 56 kB / 438.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.3054, allocations: 59.94 kB / 438.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3055, allocations: 123.6 kB / 438.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.3058, allocations: 286.7 kB / 438.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.3065, allocations: 0.6124 MB / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3065, allocations: 0 / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3065, allocations: 0 / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3065, allocations: 0 / 439.5 MB, free: 15.95 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001645/0.3082, allocations: 0.8588 MB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3082, allocations: 8.031 kB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.3083, allocations: 60.61 kB / 440.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.3089, allocations: 338.5 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.3089, allocations: 41.36 kB / 440.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.309, allocations: 48.31 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.3099, allocations: 0.5139 MB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3099, allocations: 0 / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.3099, allocations: 20 kB / 441.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.31, allocations: 12 kB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.3106, allocations: 323.8 kB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.313, allocations: 1.546 MB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.3136, allocations: 198.4 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3138, allocations: 84.81 kB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3138, allocations: 7.984 kB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.3142, allocations: 221.6 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.3142, allocations: 0 / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001622/0.3158, allocations: 0.7722 MB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.316, allocations: 316.4 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.3164, allocations: 302.9 kB / 445.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3165, allocations: 37.7 kB / 445.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.3167, allocations: 276.1 kB / 445.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.3168, allocations: 95.2 kB / 445.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3169, allocations: 78.02 kB / 445.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3171, allocations: 342.8 kB / 445.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.3173, allocations: 100.6 kB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.3177, allocations: 257.5 kB / 446.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.3183, allocations: 331.1 kB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3183, allocations: 0 / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001155/0.3194, allocations: 0.5375 MB / 447.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.3195, allocations: 37.64 kB / 447.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3195, allocations: 0 / 447.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.3201, allocations: 162.4 kB / 447.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.3203, allocations: 47.91 kB / 447.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/0.3252, allocations: 4.95 MB / 452.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.3256, allocations: 63.7 kB / 452.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3256, allocations: 16 kB / 452.4 MB, free: 1.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.3258, allocations: 169.7 kB / 452.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.3259, allocations: 31.81 kB / 452.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.3259, allocations: 42.92 kB / 452.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.326, allocations: 4 kB / 452.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.326, allocations: 0 / 452.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.326, allocations: 4.078 kB / 452.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.3264, allocations: 429.2 kB / 453.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3264, allocations: 7.984 kB / 453.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3266, allocations: 43.91 kB / 453.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.3269, allocations: 99.36 kB / 453.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.327, allocations: 11.94 kB / 453.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004745/0.3317, allocations: 5.761 MB / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3317, allocations: 0 / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.3325, allocations: 353.1 kB / 459.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3326, allocations: 112.8 kB / 459.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.3327, allocations: 8 kB / 459.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3329, allocations: 27.97 kB / 459.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.333, allocations: 39.89 kB / 459.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.333, allocations: 4 kB / 459.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.3333, allocations: 221.9 kB / 459.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3333, allocations: 0 / 459.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.3339, allocations: 147.7 kB / 459.9 MB, free: 9.824 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.3341, allocations: 111.2 kB / 460 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3353, allocations: 0.7031 MB / 460.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3354, allocations: 4 kB / 460.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.3361, allocations: 0.565 MB / 461.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3365, allocations: 64.91 kB / 461.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3378, allocations: 0.7223 MB / 462 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.3383, allocations: 0.8157 MB / 462.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.3384, allocations: 35.42 kB / 462.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3384, allocations: 3.938 kB / 462.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of Templates: time 0.01373/0.3521, allocations: 10.55 MB / 473.4 MB, free: 12.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.417087389156222] Failed to read output from testmodel.py, exit status != 0: 0.36151531897485256 0.375132648 0.065624999 Calling exit ...