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.001112/0.001112, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00156/0.00156, allocations: 169.9 kB / 24.92 MB, free: 8.258 MB / 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 0.9556/0.9556, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] 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.824e-06/1.824e-06, allocations: 3.938 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.697e-05, allocations: 5.266 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003269/0.003286, allocations: 3.534 MB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.004976, allocations: 0.8917 MB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.005161, allocations: 11.94 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.005324, allocations: 79.27 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.005622, allocations: 158.6 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.005966, allocations: 211.5 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.006423, allocations: 0.6423 MB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.006643, allocations: 167.3 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.006992, allocations: 367.3 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.007212, allocations: 211.3 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.007271, allocations: 60 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.007323, allocations: 56 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.007397, allocations: 131.5 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.00753, allocations: 207.5 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.007849, allocations: 426.5 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007852, allocations: 0 / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007853, allocations: 4 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.007858, allocations: 0 / 280.5 MB, free: 10 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.0007803/0.008638, allocations: 0.7587 MB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.008667, allocations: 11.97 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.008751, allocations: 80.88 kB / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.009012, allocations: 225.2 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.009036, allocations: 41.36 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.009081, allocations: 60.36 kB / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.009493, allocations: 0.6287 MB / 282.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.009503, allocations: 4.188 kB / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.009529, allocations: 23.94 kB / 282.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.009537, allocations: 12 kB / 282.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.009672, allocations: 107 kB / 282.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01075, allocations: 1.152 MB / 283.6 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.01092, allocations: 130.5 kB / 283.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.01097, allocations: 40.84 kB / 283.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.01098, allocations: 4 kB / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.01116, allocations: 268.4 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.01116, allocations: 0 / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005012/0.01166, allocations: 314.5 kB / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.01174, allocations: 312.4 kB / 284.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.01189, allocations: 278.8 kB / 284.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01191, allocations: 33.7 kB / 285 MB, free: 5.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.01201, allocations: 256.5 kB / 285.2 MB, free: 4.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.01205, allocations: 99.19 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.01212, allocations: 77.98 kB / 285.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.01219, allocations: 350.7 kB / 285.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.01224, allocations: 62.44 kB / 285.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.01243, allocations: 483.9 kB / 286.3 MB, free: 3.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01259, allocations: 230.8 kB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01259, allocations: 0 / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003853/0.01298, allocations: 388.1 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.013, allocations: 36.7 kB / 286.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01301, allocations: 11.94 kB / 286.9 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.0134, allocations: 190.3 kB / 287.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.01349, allocations: 51.92 kB / 287.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.01536, allocations: 4.018 MB / 291.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.0155, allocations: 59.89 kB / 291.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.01552, allocations: 20 kB / 291.3 MB, free: 14.35 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 9.945e-05/0.01562, allocations: 137.8 kB / 291.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.01565, allocations: 32 kB / 291.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.01568, allocations: 38.98 kB / 291.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01568, allocations: 7.938 kB / 291.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01569, allocations: 0 / 291.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01569, allocations: 3.984 kB / 291.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01584, allocations: 197.6 kB / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01584, allocations: 3.984 kB / 291.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.01591, allocations: 35.92 kB / 291.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.01612, allocations: 123.3 kB / 291.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01613, allocations: 4 kB / 291.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.01802, allocations: 4.849 MB / 296.7 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01802, allocations: 4 kB / 296.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.01827, allocations: 241.2 kB / 296.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.0183, allocations: 31.69 kB / 297 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.01832, allocations: 8 kB / 297 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.01842, allocations: 23.98 kB / 297 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.01851, allocations: 55.91 kB / 297 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01852, allocations: 7.984 kB / 297 MB, free: 8.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.01859, allocations: 96.66 kB / 297.1 MB, free: 8.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01859, allocations: 0 / 297.1 MB, free: 8.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.01894, allocations: 155.7 kB / 297.3 MB, free: 7.902 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 9.057e-05/0.01903, allocations: 84.36 kB / 297.4 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.01952, allocations: 0.646 MB / 298 MB, free: 7.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.01953, allocations: 4 kB / 298 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.02004, allocations: 0.5429 MB / 298.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.02028, allocations: 56.36 kB / 298.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.02119, allocations: 0.6611 MB / 299.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.418e-05/0.02125, allocations: 109.8 kB / 299.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.837e-05/0.02134, allocations: 43 kB / 299.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.02151, allocations: 135.3 kB / 299.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02151, allocations: 0 / 299.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of Templates: time 0.1006/0.1221, allocations: 6.431 MB / 306 MB, free: 39.14 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.970981248188764]