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.001654/0.001654, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001883/0.001883, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.559/1.559, allocations: 230.5 MB / 258.1 MB, free: 8.141 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.002059/0.002059, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2896, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005249/0.2948, allocations: 3.634 MB / 435.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2968, allocations: 0.8959 MB / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.297, allocations: 8 kB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.2973, allocations: 79.2 kB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.2977, allocations: 154.7 kB / 436.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.2982, allocations: 191.7 kB / 437 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.2989, allocations: 0.6154 MB / 437.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.2992, allocations: 166.8 kB / 437.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.2995, allocations: 239.2 kB / 438.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.2999, allocations: 290.8 kB / 438.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.723e-05/0.3, allocations: 60 kB / 438.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.3001, allocations: 56 kB / 438.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3002, allocations: 131.6 kB / 438.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.3005, allocations: 274.7 kB / 438.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.3012, allocations: 0.6109 MB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3012, allocations: 0 / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3012, allocations: 0 / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3012, allocations: 0 / 439.5 MB, free: 15.96 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.001653/0.3029, allocations: 0.8627 MB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3029, allocations: 11.97 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.303, allocations: 60.61 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.3036, allocations: 346.5 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.3036, allocations: 29.38 kB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3037, allocations: 52.31 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.3046, allocations: 0.5178 MB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3047, allocations: 0 / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.3047, allocations: 20 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.3047, allocations: 12 kB / 441.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.3054, allocations: 315.8 kB / 441.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.3078, allocations: 1.554 MB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.3084, allocations: 198.4 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3086, allocations: 88.8 kB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3086, allocations: 4 kB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.3091, allocations: 221.6 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.804e-06/0.3091, allocations: 0 / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001672/0.3107, allocations: 0.7722 MB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.3109, allocations: 312.4 kB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3113, allocations: 307 kB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.3114, allocations: 37.69 kB / 445.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3116, allocations: 276.1 kB / 445.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.3117, allocations: 95.22 kB / 445.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3118, allocations: 78.02 kB / 445.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.312, allocations: 346.8 kB / 445.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3123, allocations: 104.6 kB / 446 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3127, allocations: 253.5 kB / 446.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.3132, allocations: 335.1 kB / 446.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3132, allocations: 0 / 446.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001158/0.3144, allocations: 0.5297 MB / 447.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.3144, allocations: 41.62 kB / 447.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3144, allocations: 4 kB / 447.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.3151, allocations: 162.4 kB / 447.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3153, allocations: 47.91 kB / 447.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.32, allocations: 4.942 MB / 452.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3204, allocations: 63.7 kB / 452.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3204, allocations: 19.98 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.0002388/0.3207, allocations: 165.8 kB / 452.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.3207, allocations: 31.81 kB / 452.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.54e-05/0.3208, allocations: 42.92 kB / 452.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3208, allocations: 0 / 452.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3208, allocations: 4 kB / 452.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3208, allocations: 4.031 kB / 452.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.3213, allocations: 433.2 kB / 453.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3213, allocations: 192 / 453.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3215, allocations: 39.98 kB / 453.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/0.3218, allocations: 99.36 kB / 453.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3218, allocations: 15.92 kB / 453.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3263, allocations: 5.757 MB / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3263, allocations: 0 / 459 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.3272, allocations: 361.2 kB / 459.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3273, allocations: 116.8 kB / 459.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.3273, allocations: 7.938 kB / 459.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3276, allocations: 31.97 kB / 459.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3277, allocations: 47.94 kB / 459.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3278, allocations: 15.98 kB / 459.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.328, allocations: 218 kB / 459.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.328, allocations: 0 / 459.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.3286, allocations: 147.7 kB / 459.9 MB, free: 9.805 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.0001628/0.3288, allocations: 107.2 kB / 460 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.33, allocations: 0.7069 MB / 460.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.33, allocations: 8.188 kB / 460.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.3308, allocations: 0.565 MB / 461.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3312, allocations: 63.38 kB / 461.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3324, allocations: 0.6979 MB / 462 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.3329, allocations: 0.8079 MB / 462.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.333, allocations: 46.95 kB / 462.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.3331, allocations: 35.42 kB / 462.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3331, allocations: 3.938 kB / 462.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of Templates: time 0.01212/0.3452, allocations: 6.14 MB / 469.1 MB, free: 0.4922 MB / 366.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 -s cvode -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: 4.7875887881964445] Failed to read output from testmodel.py, exit status != 0: 0.353917732834816 0.368567287 0.06426023 Calling exit ...