Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.002501/0.002501, allocations: 103.5 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.002786/0.002786, allocations: 156.8 kB / 24.27 MB, free: 156 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.63/1.63, allocations: 177 MB / 204.4 MB, free: 5.605 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.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.999e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004714/0.004744, allocations: 2.806 MB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.006531, allocations: 0.8374 MB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.006674, allocations: 7.938 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.006848, allocations: 43.56 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.007367, allocations: 127 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.007854, allocations: 211.5 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006603/0.008514, allocations: 498.1 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.008757, allocations: 81.53 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.009281, allocations: 275.4 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.009649, allocations: 171.5 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.009742, allocations: 40 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.009871, allocations: 55.92 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.009997, allocations: 95.66 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.01019, allocations: 143.6 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.01086, allocations: 482.5 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01086, allocations: 0 / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01086, allocations: 0 / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.01087, allocations: 0 / 278.1 MB, free: 11.9 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001691/0.01256, allocations: 0.7372 MB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.0126, allocations: 15.98 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.01283, allocations: 64.69 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.01329, allocations: 251.5 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01339, allocations: 76.39 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.01345, allocations: 28.38 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.01406, allocations: 420.6 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01408, allocations: 192 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.01411, allocations: 16.12 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01412, allocations: 7.938 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.01446, allocations: 149.9 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.01696, allocations: 1.003 MB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.01731, allocations: 115 kB / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.01753, allocations: 75.66 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.01756, allocations: 4 kB / 281 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.0176, allocations: 41.64 kB / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.0176, allocations: 0 / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009778/0.01858, allocations: 288.7 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.01871, allocations: 158.2 kB / 281.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.01914, allocations: 356.3 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.01918, allocations: 29.7 kB / 281.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.0194, allocations: 235 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.01946, allocations: 55.56 kB / 282.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.01959, allocations: 55.34 kB / 282.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000326/0.01992, allocations: 0.5196 MB / 282.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.02011, allocations: 91.95 kB / 282.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.02058, allocations: 252.8 kB / 283 MB, free: 6.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.02094, allocations: 169.9 kB / 283.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02094, allocations: 0 / 283.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007736/0.02868, allocations: 0.8943 MB / 284.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.02871, allocations: 8 kB / 284.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.02872, allocations: 4 kB / 284.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01519/0.0439, allocations: 1.497 MB / 285.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.04405, allocations: 15.98 kB / 285.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.05541, allocations: 5.745 MB / 291.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.05575, allocations: 23.84 kB / 291.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.05578, allocations: 11.97 kB / 291.4 MB, free: 13.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.05604, allocations: 180.6 kB / 291.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.05612, allocations: 27.86 kB / 291.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.05617, allocations: 29.7 kB / 291.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.05618, allocations: 4 kB / 291.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.05618, allocations: 0 / 291.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.05619, allocations: 3.938 kB / 291.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.05727, allocations: 0.5978 MB / 292.2 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.05728, allocations: 4 kB / 292.3 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.0574, allocations: 19.98 kB / 292.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.05773, allocations: 75.38 kB / 292.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.05775, allocations: 8 kB / 292.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.06101, allocations: 3.807 MB / 296.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.06101, allocations: 3.938 kB / 296.2 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.06165, allocations: 374.3 kB / 296.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.06171, allocations: 27.78 kB / 296.6 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.06175, allocations: 11.94 kB / 296.6 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.06193, allocations: 7.984 kB / 296.6 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.06204, allocations: 35.95 kB / 296.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.06206, allocations: 4 kB / 296.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.06235, allocations: 249.1 kB / 296.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06235, allocations: 0 / 296.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005558/0.06291, allocations: 95.84 kB / 297 MB, free: 8.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.06309, allocations: 111.2 kB / 297.1 MB, free: 7.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.06501, allocations: 0.6581 MB / 297.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.06501, allocations: 4 kB / 297.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.06559, allocations: 435.2 kB / 298.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.06604, allocations: 63.59 kB / 298.2 MB, free: 6.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.0671, allocations: 0.5103 MB / 298.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.06729, allocations: 155.1 kB / 298.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.06741, allocations: 25.94 kB / 298.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.0675, allocations: 24.48 kB / 298.9 MB, free: 5.906 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0675, allocations: 4 kB / 298.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of Templates: time 0.1374/0.2049, allocations: 8.552 MB / 307.5 MB, free: 41.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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: 5.140507420990616]