Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002224/0.002224, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001964/0.001964, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.588e-05, allocations: 6.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005925/0.005951, allocations: 3.53 MB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.007712, allocations: 0.884 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.00789, allocations: 7.938 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.008102, allocations: 75.28 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.008509, allocations: 162.5 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.008957, allocations: 207.5 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.009711, allocations: 0.6423 MB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.01, allocations: 157.4 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.01049, allocations: 367.3 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.01086, allocations: 215.3 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01097, allocations: 60 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.01108, allocations: 60 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.01124, allocations: 131.5 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.0115, allocations: 199.6 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000808/0.01231, allocations: 0.6503 MB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01231, allocations: 0 / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.01231, allocations: 0 / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.01232, allocations: 0 / 279.6 MB, free: 10.41 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.001748/0.01407, allocations: 0.9065 MB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.01413, allocations: 8.031 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.01431, allocations: 100.6 kB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.01482, allocations: 283.3 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.01486, allocations: 33.38 kB / 280.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.01495, allocations: 52.38 kB / 280.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.01613, allocations: 0.7888 MB / 281.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.01615, allocations: 192 / 281.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.0162, allocations: 23.94 kB / 281.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.01622, allocations: 12 kB / 281.8 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.01714, allocations: 303.8 kB / 282 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.01979, allocations: 1.484 MB / 283.5 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.02031, allocations: 206.9 kB / 283.7 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.02051, allocations: 83.59 kB / 283.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.02054, allocations: 8 kB / 283.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006472/0.02119, allocations: 340.2 kB / 284.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/0.02119, allocations: 0 / 284.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001514/0.0227, allocations: 485.7 kB / 284.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/0.02294, allocations: 324.4 kB / 284.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.02343, allocations: 390.2 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.02347, allocations: 33.7 kB / 285.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.02376, allocations: 330.8 kB / 285.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02387, allocations: 103.2 kB / 285.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.02406, allocations: 95.61 kB / 285.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003129/0.02437, allocations: 0.5235 MB / 286.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.02463, allocations: 122.4 kB / 286.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.02531, allocations: 0.5986 MB / 287.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.02592, allocations: 355.6 kB / 287.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.02593, allocations: 4 kB / 287.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001308/0.02724, allocations: 0.567 MB / 288 MB, free: 1.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.02728, allocations: 33.7 kB / 288.1 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.0273, allocations: 7.984 kB / 288.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.02837, allocations: 226.8 kB / 288.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.02856, allocations: 43.92 kB / 288.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/0.03499, allocations: 6.205 MB / 294.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.03541, allocations: 55.78 kB / 294.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.03544, allocations: 16 kB / 294.6 MB, free: 10.21 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.0002952/0.03574, allocations: 212.5 kB / 294.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.03584, allocations: 47.8 kB / 294.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.03591, allocations: 27 kB / 294.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.03592, allocations: 11.98 kB / 294.9 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.03593, allocations: 4 kB / 294.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.03593, allocations: 0 / 294.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.03643, allocations: 356.3 kB / 295.3 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.03643, allocations: 0 / 295.3 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.0366, allocations: 31.92 kB / 295.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/0.03723, allocations: 142.6 kB / 295.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.03725, allocations: 12 kB / 295.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/0.04378, allocations: 7.421 MB / 302.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04378, allocations: 0 / 302.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.04495, allocations: 391.6 kB / 303.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.04503, allocations: 31.73 kB / 303.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.04508, allocations: 8.141 kB / 303.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.04533, allocations: 27.97 kB / 303.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.04549, allocations: 63.89 kB / 303.4 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.04552, allocations: 12 kB / 303.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003181/0.04584, allocations: 255 kB / 303.6 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04584, allocations: 4 kB / 303.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006346/0.04647, allocations: 155.7 kB / 303.8 MB, free: 456 kB / 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.0001677/0.04664, allocations: 115.1 kB / 303.9 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1078/0.1544, allocations: 0.8972 MB / 304.8 MB, free: 40.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.1544, allocations: 0.75 kB / 304.8 MB, free: 40.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.1552, allocations: 0.8042 MB / 305.6 MB, free: 39.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1556, allocations: 60.88 kB / 305.7 MB, free: 39.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1569, allocations: 0.673 MB / 306.3 MB, free: 39.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1571, allocations: 208.9 kB / 306.5 MB, free: 39.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.1572, allocations: 39.03 kB / 306.6 MB, free: 39.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.1573, allocations: 37.8 kB / 306.6 MB, free: 39.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1573, allocations: 0 / 306.6 MB, free: 39.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01379/0.1711, allocations: 6.189 MB / 312.8 MB, free: 38.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.859782583080232]