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.007081/0.007081, allocations: 106.5 kB / 21.98 MB, free: 5.223 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.00213/0.00213, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.5 MB / 259 MB, free: 8.062 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="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",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.001969/0.001969, allocations: 67.89 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2422, allocations: 53.38 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004934/0.2472, allocations: 3.63 MB / 436.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.2489, allocations: 0.8881 MB / 437.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2491, allocations: 11.94 kB / 437.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2493, allocations: 79.22 kB / 437.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.2496, allocations: 150.7 kB / 438 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2501, allocations: 195.6 kB / 438.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.2507, allocations: 0.6232 MB / 438.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.251, allocations: 165.4 kB / 438.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.2513, allocations: 243.3 kB / 439.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.2517, allocations: 290.8 kB / 439.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.2518, allocations: 56 kB / 439.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2519, allocations: 63.94 kB / 439.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.252, allocations: 127.5 kB / 439.7 MB, free: 428 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.2522, allocations: 278.7 kB / 440 MB, free: 148 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.2529, allocations: 0.6198 MB / 440.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2529, allocations: 0 / 440.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2529, allocations: 0 / 440.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.2529, allocations: 0 / 440.6 MB, free: 15.53 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.001573/0.2545, allocations: 0.7836 MB / 441.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2545, allocations: 8.031 kB / 441.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2546, allocations: 56.61 kB / 441.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.2552, allocations: 280.7 kB / 441.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.2552, allocations: 41.31 kB / 441.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.2553, allocations: 44.38 kB / 441.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.2562, allocations: 0.5217 MB / 442.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2562, allocations: 0 / 442.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.2563, allocations: 16 kB / 442.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.2563, allocations: 12 kB / 442.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.257, allocations: 311.8 kB / 442.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2595, allocations: 1.51 MB / 444.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.26, allocations: 194.4 kB / 444.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.2603, allocations: 84.81 kB / 444.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.2603, allocations: 8 kB / 444.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.2607, allocations: 218.6 kB / 444.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.2607, allocations: 0 / 444.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001463/0.2622, allocations: 482.2 kB / 445.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.2624, allocations: 312.4 kB / 445.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.2628, allocations: 312.2 kB / 445.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2628, allocations: 29.7 kB / 445.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2631, allocations: 272.1 kB / 446 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.2631, allocations: 99.2 kB / 446.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.2633, allocations: 90 kB / 446.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2635, allocations: 334.8 kB / 446.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.2637, allocations: 100.7 kB / 446.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.2641, allocations: 265.2 kB / 446.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.2647, allocations: 335.1 kB / 447.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2647, allocations: 7.938 kB / 447.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001169/0.2658, allocations: 0.5258 MB / 447.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.2659, allocations: 41.62 kB / 447.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2659, allocations: 4 kB / 447.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.2665, allocations: 158.5 kB / 448 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2667, allocations: 55.84 kB / 448 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/0.2713, allocations: 4.63 MB / 452.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.2717, allocations: 59.7 kB / 452.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.2717, allocations: 16 kB / 452.7 MB, free: 2.551 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.000251/0.272, allocations: 183.2 kB / 452.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.272, allocations: 31.81 kB / 452.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.2721, allocations: 43.02 kB / 453 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2721, allocations: 4 kB / 453 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.2721, allocations: 0 / 453 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2721, allocations: 0 / 453 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2726, allocations: 400.4 kB / 453.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2726, allocations: 192 / 453.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.2728, allocations: 47.91 kB / 453.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.2731, allocations: 99.36 kB / 453.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2731, allocations: 15.92 kB / 453.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/0.2776, allocations: 5.343 MB / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2776, allocations: 3.984 kB / 458.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.2784, allocations: 353.1 kB / 459.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.2785, allocations: 35.73 kB / 459.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2785, allocations: 8 kB / 459.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2788, allocations: 27.97 kB / 459.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2789, allocations: 35.88 kB / 459.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2789, allocations: 12 kB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.2792, allocations: 219.1 kB / 459.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2792, allocations: 0 / 459.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006283/0.2798, allocations: 147.7 kB / 459.7 MB, free: 11.02 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.0001509/0.2799, allocations: 103.2 kB / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2812, allocations: 0.7069 MB / 460.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2812, allocations: 4.188 kB / 460.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.282, allocations: 0.5728 MB / 461.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.2823, allocations: 64.73 kB / 461.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2837, allocations: 0.7151 MB / 461.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.2841, allocations: 0.8118 MB / 462.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.2842, allocations: 35.42 kB / 462.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2842, allocations: 0 / 462.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of Templates: time 0.01441/0.2986, allocations: 10.54 MB / 473.2 MB, free: 13.31 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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,line1.v1,line1.v2,line1.i1,line1.i2,line2.v1,line2.v2,line2.i1,line2.i2,line3.v1,line3.v2,line3.i1,line3.i2 Variables in the result:line1.i1,line1.i2,line1.v1,line1.v2,line2.i1,line2.i2,line2.v1,line2.v2,line3.i1,line3.i2,line3.v1,line3.v2,time [Calling sys.exit(0), Time elapsed: 8.429078368935734]