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.002162/0.002162, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002005/0.002005, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.698e-05, allocations: 2.312 kB / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005646/0.005683, allocations: 3.541 MB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.007754, allocations: 0.8685 MB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.007946, allocations: 8 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.008201, allocations: 79.22 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.008624, allocations: 158.6 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.009111, allocations: 203.6 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.009878, allocations: 0.6384 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.01021, allocations: 161.4 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.01069, allocations: 363.2 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.01109, allocations: 223.3 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.0112, allocations: 56 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.01135, allocations: 60 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.01153, allocations: 131.5 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.01182, allocations: 203.5 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.01291, allocations: 0.6425 MB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.01291, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01291, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.01292, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 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.00181/0.01473, allocations: 0.9105 MB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.01478, allocations: 12.03 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.01499, allocations: 100.6 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.01553, allocations: 283.3 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.01558, allocations: 33.38 kB / 281 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.01567, allocations: 52.38 kB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.01687, allocations: 0.7849 MB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.01689, allocations: 192 / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.01695, allocations: 27.94 kB / 281.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.01696, allocations: 8 kB / 281.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.01762, allocations: 303.9 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.02037, allocations: 1.492 MB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.02091, allocations: 198.9 kB / 283.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.02113, allocations: 87.64 kB / 283.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.02116, allocations: 4 kB / 283.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.0217, allocations: 340.2 kB / 284.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.0217, allocations: 0 / 284.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001543/0.02324, allocations: 482.4 kB / 284.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000251/0.02349, allocations: 320.4 kB / 285 MB, free: 4.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.02399, allocations: 394.2 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.02403, allocations: 33.7 kB / 285.5 MB, free: 4.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.02432, allocations: 330.8 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.02443, allocations: 99.2 kB / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.02461, allocations: 91.67 kB / 286 MB, free: 3.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006409/0.02525, allocations: 0.539 MB / 286.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.0255, allocations: 114.4 kB / 286.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.02616, allocations: 0.5947 MB / 287.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.02676, allocations: 363.9 kB / 287.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.02676, allocations: 0 / 287.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001255/0.02802, allocations: 0.5708 MB / 288.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.02807, allocations: 33.7 kB / 288.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.02808, allocations: 8.125 kB / 288.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.02915, allocations: 222.9 kB / 288.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.02935, allocations: 47.91 kB / 288.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/0.03585, allocations: 6.212 MB / 294.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.03628, allocations: 55.7 kB / 294.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.03631, allocations: 16 kB / 294.7 MB, free: 10.27 MB / 282.7 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.0003082/0.03661, allocations: 212.5 kB / 294.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.03669, allocations: 39.84 kB / 295 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.03677, allocations: 39.03 kB / 295 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.03678, allocations: 7.984 kB / 295 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.03679, allocations: 0 / 295 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.03679, allocations: 3.984 kB / 295 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.03726, allocations: 348.3 kB / 295.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.03726, allocations: 0 / 295.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.03743, allocations: 35.98 kB / 295.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.03806, allocations: 150.6 kB / 295.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.03808, allocations: 8.188 kB / 295.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.04454, allocations: 7.421 MB / 303 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.04454, allocations: 4 kB / 303 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.04543, allocations: 382.8 kB / 303.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/0.04553, allocations: 31.73 kB / 303.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.04562, allocations: 8 kB / 303.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.04587, allocations: 23.98 kB / 303.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.04611, allocations: 63.84 kB / 303.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.04614, allocations: 11.98 kB / 303.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004668/0.04661, allocations: 263 kB / 303.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.04661, allocations: 0 / 303.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001128/0.04774, allocations: 151.7 kB / 303.9 MB, free: 0.5078 MB / 282.7 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.0002466/0.04798, allocations: 107.2 kB / 304 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1135/0.1615, allocations: 0.9013 MB / 304.9 MB, free: 40.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.1615, allocations: 2.406 kB / 304.9 MB, free: 40.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.1621, allocations: 0.805 MB / 305.7 MB, free: 39.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.1627, allocations: 56.78 kB / 305.8 MB, free: 39.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1639, allocations: 0.677 MB / 306.4 MB, free: 39.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.1641, allocations: 211.1 kB / 306.7 MB, free: 39.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.1643, allocations: 39.88 kB / 306.7 MB, free: 39.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1644, allocations: 40.97 kB / 306.7 MB, free: 39.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1644, allocations: 0 / 306.7 MB, free: 39.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01383/0.1782, allocations: 6.19 MB / 312.9 MB, free: 38.25 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.798706921981648]