Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001497/0.001497, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001607/0.001607, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.599/1.599, allocations: 230.6 MB / 258.3 MB, free: 8.062 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 68.77 kB / 379.1 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.352, allocations: 53.38 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005392/0.3574, allocations: 2.869 MB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3598, allocations: 0.8649 MB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.3602, allocations: 7.938 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.3605, allocations: 51.5 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.3612, allocations: 119.1 kB / 436.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.3619, allocations: 199.7 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.3628, allocations: 486.3 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.3632, allocations: 89.47 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/0.364, allocations: 195.4 kB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007649/0.3647, allocations: 215.1 kB / 437.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.3649, allocations: 40 kB / 437.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.3652, allocations: 48 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3653, allocations: 91.72 kB / 437.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.3657, allocations: 187.1 kB / 437.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.3666, allocations: 465 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3666, allocations: 4 kB / 438.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3666, allocations: 0 / 438.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.3666, allocations: 0 / 438.3 MB, free: 1.062 MB / 334.1 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.002017/0.3687, allocations: 0.6219 MB / 439 MB, free: 420 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3687, allocations: 8.031 kB / 439 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.3689, allocations: 48.69 kB / 439 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.3695, allocations: 249.4 kB / 439.3 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3696, allocations: 72.41 kB / 439.3 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.3697, allocations: 24.42 kB / 439.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.3702, allocations: 276.5 kB / 439.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3702, allocations: 3.938 kB / 439.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3702, allocations: 16 kB / 439.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.3703, allocations: 4 kB / 439.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.3707, allocations: 157.7 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.3733, allocations: 1.01 MB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.3737, allocations: 110.5 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3739, allocations: 80.75 kB / 441 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.3739, allocations: 4 kB / 441 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.374, allocations: 34.56 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.374, allocations: 7.938 kB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001095/0.3751, allocations: 283.3 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3752, allocations: 158.2 kB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.3756, allocations: 277.8 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3756, allocations: 25.7 kB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3758, allocations: 180.3 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.3759, allocations: 59.52 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.376, allocations: 45.69 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3762, allocations: 334.8 kB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.3764, allocations: 91.89 kB / 442.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.3767, allocations: 130.5 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.377, allocations: 165.7 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.377, allocations: 4 kB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007974/0.385, allocations: 0.8834 MB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.385, allocations: 15.94 kB / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3851, allocations: 0 / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009605/0.3947, allocations: 0.821 MB / 444.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3948, allocations: 19.92 kB / 444.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.4051, allocations: 4.696 MB / 449.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.4054, allocations: 23.84 kB / 449.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4055, allocations: 16.05 kB / 449.2 MB, free: 5.633 MB / 350.1 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.0002384/0.4057, allocations: 137.7 kB / 449.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.4058, allocations: 23.86 kB / 449.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.4058, allocations: 29.77 kB / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4058, allocations: 0 / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4058, allocations: 0 / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4058, allocations: 0 / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4069, allocations: 0.5935 MB / 450 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4069, allocations: 0 / 450 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.407, allocations: 19.98 kB / 450 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.4073, allocations: 61.64 kB / 450.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.4073, allocations: 0 / 450.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.4097, allocations: 2.728 MB / 452.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4097, allocations: 3.938 kB / 452.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.4103, allocations: 309.9 kB / 453.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.4104, allocations: 27.84 kB / 453.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4104, allocations: 3.938 kB / 453.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4106, allocations: 19.92 kB / 453.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.4107, allocations: 31.95 kB / 453.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4107, allocations: 11.98 kB / 453.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.411, allocations: 189.2 kB / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.411, allocations: 0 / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006025/0.4116, allocations: 103.8 kB / 453.5 MB, free: 1.031 MB / 350.1 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.0001537/0.4117, allocations: 106.4 kB / 453.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.4134, allocations: 0.5322 MB / 454.1 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4134, allocations: 0 / 454.1 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.414, allocations: 321.2 kB / 454.5 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.4145, allocations: 57.34 kB / 454.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4157, allocations: 0.5306 MB / 455 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.4162, allocations: 0.7674 MB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.4163, allocations: 21.95 kB / 455.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.4164, allocations: 27.42 kB / 455.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4164, allocations: 0 / 455.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01454/0.4309, allocations: 7.338 MB / 463.2 MB, free: 7.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.310536805540323]