Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.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.001296/0.001296, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001341/0.001341, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.465/1.465, 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.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.i|lightningImpulseCurrent.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.i|lightningImpulseCurrent.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2165, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.005529/0.2221, allocations: 3.747 MB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2242, allocations: 1.165 MB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.2244, allocations: 11.94 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.2248, allocations: 131 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.2254, allocations: 286.1 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.2259, allocations: 267.5 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04485/0.2708, allocations: 46.63 MB / 484.6 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01722/0.288, allocations: 9.811 MB / 494.4 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02232/0.3103, allocations: 16.4 MB / 0.4988 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03127/0.3416, allocations: 18.23 MB / 0.5166 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01106/0.3527, allocations: 3.984 MB / 0.5205 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.3671, allocations: 4 MB / 0.5244 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01477/0.3819, allocations: 9.46 MB / 0.5337 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3886/0.7705, allocations: 14.76 MB / 0.5481 GB, free: 38.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0386/0.8091, allocations: 50.88 MB / 0.5978 GB, free: 19.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8091, allocations: 0 / 0.5978 GB, free: 19.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.8091, allocations: 0.5938 kB / 0.5978 GB, free: 19.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001322/0.8104, allocations: 4.5 kB / 0.5978 GB, free: 19.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6477 * Number of variables: 6477 Notification: Performance of Generate backend data structure: time 0.08981/0.9002, allocations: 35.42 MB / 0.6324 GB, free: 8.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9003, allocations: 11.03 kB / 0.6324 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.9114, allocations: 3.158 MB / 0.6355 GB, free: 5.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04054/0.9519, allocations: 15.88 MB / 0.651 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002014/0.9539, allocations: 1.885 MB / 0.6528 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008828/0.9628, allocations: 2.574 MB / 0.6553 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0962/1.059, allocations: 46.38 MB / 0.7006 GB, free: 1.207 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005497/1.06, allocations: 2.812 kB / 0.7006 GB, free: 1.207 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006521/1.066, allocations: 1 MB / 0.7016 GB, free: 212 kB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001228/1.067, allocations: 1.19 MB / 0.7028 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08424/1.152, allocations: 35.29 MB / 0.7372 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4615/1.613, allocations: 108 MB / 0.8427 GB, free: 102 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2456/1.859, allocations: 39.13 MB / 0.8809 GB, free: 62.15 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04179/1.9, allocations: 37.46 MB / 0.9175 GB, free: 23.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.902, allocations: 229.3 kB / 0.9177 GB, free: 23.28 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.902, allocations: 359.1 kB / 0.9181 GB, free: 22.91 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2220): time 3.253e-05/1.902, allocations: 0 / 0.9181 GB, free: 22.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2222): time 0.3582/2.26, allocations: 65.63 MB / 0.9821 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/2.261, allocations: 284 kB / 0.9824 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02485/2.285, allocations: 17.41 MB / 0.9994 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.003623/2.289, allocations: 0.4991 MB / 0.9999 GB, free: 185 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005142/2.294, allocations: 10.27 MB / 1.01 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.006285/2.301, allocations: 8.237 MB / 1.018 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008053/2.309, allocations: 4.013 MB / 1.022 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.464e-05/2.309, allocations: 307.2 kB / 1.022 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01946/2.328, allocations: 13.96 MB / 1.036 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02232/2.35, allocations: 15.61 MB / 1.051 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0388/2.389, allocations: 28.78 MB / 1.079 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.078e-05/2.389, allocations: 0 / 1.079 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3032) (initialization): time 0.06596/2.455, allocations: 35.09 MB / 1.113 GB, free: 85.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/2.455, allocations: 4 kB / 1.113 GB, free: 85.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.433e-05/2.455, allocations: 2.656 kB / 1.113 GB, free: 85.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/2.466, allocations: 0.909 MB / 1.114 GB, free: 84.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02686/2.493, allocations: 7.223 MB / 1.121 GB, free: 76.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/2.501, allocations: 4.609 MB / 1.126 GB, free: 71.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/2.52, allocations: 1.249 MB / 1.127 GB, free: 70.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004154/2.524, allocations: 0.6523 MB / 1.128 GB, free: 69.84 MB / 0.5919 GB 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 (3023): * Single equations (assignments): 3021 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.01729/2.541, allocations: 8.444 MB / 1.136 GB, free: 61.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00633/2.548, allocations: 1.88 MB / 1.138 GB, free: 59.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005563/2.553, allocations: 2.556 MB / 1.14 GB, free: 56.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001471/2.554, allocations: 107.6 kB / 1.14 GB, free: 56.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.09e-05/2.554, allocations: 0 / 1.14 GB, free: 56.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006061/2.56, allocations: 2.305 MB / 1.143 GB, free: 54.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005558/2.565, allocations: 0.652 MB / 1.143 GB, free: 53.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01812/2.583, allocations: 2.673 MB / 1.146 GB, free: 51.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004085/2.587, allocations: 1.229 MB / 1.147 GB, free: 49.94 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05924/2.647, allocations: 31.77 MB / 1.178 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2908/2.937, allocations: 44.8 MB / 1.222 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01707/2.954, allocations: 13.29 MB / 1.235 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01708/2.972, allocations: 12.21 MB / 1.247 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of Backend: time 4.11e-07/2.972, allocations: 1.188 kB / 1.247 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0398/3.011, allocations: 18.27 MB / 1.265 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.1029/3.114, allocations: 68.87 MB / 1.332 GB, free: 82.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.9219/4.036, allocations: 393.4 MB / 1.716 GB, free: 166.5 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningSegmentedTransmissionLine/LightningSegmentedTransmissionLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.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: 26.913757772999816]