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.00122/0.00122, allocations: 113.9 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.001352/0.001352, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.429/1.429, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.001977/0.001977, allocations: 71.83 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2166, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004978/0.2215, allocations: 3.634 MB / 435.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2233, allocations: 0.8959 MB / 436.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2235, allocations: 11.94 kB / 436.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2237, allocations: 75.22 kB / 436.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.2241, allocations: 146.7 kB / 436.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.2245, allocations: 203.6 kB / 437.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.2252, allocations: 0.6193 MB / 437.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.2254, allocations: 162.8 kB / 437.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.2257, allocations: 243.2 kB / 438.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.2261, allocations: 282.8 kB / 438.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.2262, allocations: 56 kB / 438.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.2262, allocations: 60 kB / 438.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2264, allocations: 131.5 kB / 438.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.2266, allocations: 282.7 kB / 438.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.2273, allocations: 0.6109 MB / 439.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2273, allocations: 0 / 439.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2273, allocations: 3.938 kB / 439.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2273, allocations: 0 / 439.5 MB, free: 15.98 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.001606/0.2289, allocations: 0.8549 MB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2289, allocations: 12.03 kB / 440.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2291, allocations: 56.61 kB / 440.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2296, allocations: 346.5 kB / 440.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.2296, allocations: 41.31 kB / 440.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.2297, allocations: 52.36 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.2306, allocations: 0.51 MB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2306, allocations: 0 / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.2307, allocations: 27.98 kB / 441.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2307, allocations: 12 kB / 441.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.2314, allocations: 307.8 kB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.2337, allocations: 1.55 MB / 443.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.2343, allocations: 198.4 kB / 443.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.2345, allocations: 84.81 kB / 443.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2345, allocations: 7.984 kB / 443.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.2349, allocations: 221.7 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.2349, allocations: 0 / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001611/0.2365, allocations: 0.7721 MB / 444.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.2367, allocations: 316.4 kB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.2371, allocations: 306.9 kB / 445.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.2371, allocations: 29.7 kB / 445.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2373, allocations: 272.1 kB / 445.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.2374, allocations: 99.2 kB / 445.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2375, allocations: 82.02 kB / 445.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2377, allocations: 338.8 kB / 445.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.2379, allocations: 100.7 kB / 446 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.2383, allocations: 265.4 kB / 446.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.2389, allocations: 331.1 kB / 446.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2389, allocations: 7.938 kB / 446.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001143/0.24, allocations: 0.5219 MB / 447.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.2401, allocations: 45.64 kB / 447.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2401, allocations: 4 kB / 447.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.2407, allocations: 162.4 kB / 447.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2409, allocations: 43.92 kB / 447.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.2455, allocations: 4.946 MB / 452.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.2459, allocations: 63.77 kB / 452.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.246, allocations: 12.23 kB / 452.4 MB, free: 2.027 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.0002206/0.2462, allocations: 173.7 kB / 452.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2462, allocations: 35.81 kB / 452.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.2463, allocations: 38.98 kB / 452.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2463, allocations: 3.938 kB / 452.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2463, allocations: 0 / 452.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.2464, allocations: 112.8 kB / 452.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.2465, allocations: 8 kB / 452.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.2467, allocations: 31.97 kB / 452.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2469, allocations: 51.92 kB / 452.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009927/0.2478, allocations: 424.9 kB / 453.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008361/0.2487, allocations: 0.5382 MB / 453.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002067/0.2489, allocations: 83.94 kB / 453.9 MB, free: 488 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.2492, allocations: 217.9 kB / 454.1 MB, free: 272 kB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2492, allocations: 0 / 454.1 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.2505, allocations: 0.7127 MB / 454.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of SimCode: time 0.001418/0.2519, allocations: 1.221 MB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01179/0.2637, allocations: 6.162 MB / 462.2 MB, free: 8.098 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 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.288214437197894] Failed to read output from testmodel.py, exit status != 0: 0.27211774280294776 0.28584997 0.05556400500000001 Calling exit ...