Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 59.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.246, allocations: 53.36 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004935/0.2509, allocations: 3.288 MB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2526, allocations: 0.8492 MB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2528, allocations: 8 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.253, allocations: 79.22 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.2534, allocations: 146.7 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2538, allocations: 199.6 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.2545, allocations: 0.6193 MB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.2548, allocations: 155.4 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2551, allocations: 247.1 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.2554, allocations: 250.8 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/0.2555, allocations: 56 kB / 438.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2556, allocations: 64 kB / 438.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2558, allocations: 127.6 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.256, allocations: 231 kB / 438.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.2567, allocations: 0.6222 MB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2567, allocations: 0 / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2567, allocations: 0 / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2567, allocations: 0 / 439.3 MB, free: 15.81 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.001678/0.2584, allocations: 0.7836 MB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2585, allocations: 15.97 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2586, allocations: 60.61 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.2592, allocations: 276.8 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.2592, allocations: 37.38 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.2593, allocations: 44.31 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.2604, allocations: 0.7611 MB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2604, allocations: 4 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.2605, allocations: 20 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.2605, allocations: 12 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.2612, allocations: 323.8 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.2636, allocations: 1.312 MB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.2641, allocations: 202 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2643, allocations: 80.81 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2643, allocations: 11.92 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005168/0.2649, allocations: 328.5 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.2649, allocations: 0 / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00144/0.2663, allocations: 470.3 kB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.2665, allocations: 324.4 kB / 444.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.2669, allocations: 304.1 kB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2669, allocations: 37.7 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.2671, allocations: 280.1 kB / 444.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.2672, allocations: 91.22 kB / 445 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2674, allocations: 82.02 kB / 445.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2675, allocations: 338.8 kB / 445.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.2678, allocations: 126.4 kB / 445.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.2684, allocations: 0.5389 MB / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.269, allocations: 331.1 kB / 446.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.269, allocations: 4 kB / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001147/0.2701, allocations: 0.551 MB / 446.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.2702, allocations: 37.69 kB / 447 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2702, allocations: 7.938 kB / 447 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.2708, allocations: 162.4 kB / 447.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.271, allocations: 51.91 kB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.2756, allocations: 4.538 MB / 451.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.276, allocations: 59.7 kB / 451.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.276, allocations: 19.94 kB / 451.8 MB, free: 2.309 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.0002365/0.2762, allocations: 173.7 kB / 452 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.2763, allocations: 35.8 kB / 452 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.2764, allocations: 35 kB / 452 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2764, allocations: 3.984 kB / 452.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.2764, allocations: 4 kB / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2764, allocations: 0 / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.2767, allocations: 285.2 kB / 452.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.2768, allocations: 8 kB / 452.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.2769, allocations: 35.97 kB / 452.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002974/0.2772, allocations: 103.3 kB / 452.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2773, allocations: 4 kB / 452.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/0.2817, allocations: 5.248 MB / 457.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2817, allocations: 0 / 457.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.2825, allocations: 357 kB / 458.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.2825, allocations: 35.73 kB / 458.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.2826, allocations: 8 kB / 458.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2829, allocations: 27.97 kB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.2829, allocations: 31.94 kB / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.283, allocations: 12 kB / 458.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.2832, allocations: 211.2 kB / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2832, allocations: 3.938 kB / 458.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.2838, allocations: 155.7 kB / 458.6 MB, free: 11.07 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.0001458/0.284, allocations: 111.1 kB / 458.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.2852, allocations: 0.7277 MB / 459.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2852, allocations: 0 / 459.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.286, allocations: 0.5774 MB / 460 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2863, allocations: 40.97 kB / 460 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2877, allocations: 0.716 MB / 460.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2879, allocations: 208.2 kB / 460.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.288, allocations: 39.36 kB / 461 MB, free: 8.484 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.288, allocations: 0 / 461 MB, free: 8.484 MB / 366.1 MB Notification: Performance of Templates: time 0.01382/0.3018, allocations: 10.61 MB / 471.6 MB, free: 13.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.164382312912494]