Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001331/0.001331, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001507/0.001507, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 59.91 kB / 378.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3018, allocations: 53.36 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004956/0.3068, allocations: 2.661 MB / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3085, allocations: 0.8181 MB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3087, allocations: 7.938 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3088, allocations: 47.56 kB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.3092, allocations: 123.1 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.3096, allocations: 199.6 kB / 435.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.3102, allocations: 490.3 kB / 435.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.3104, allocations: 81.91 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3107, allocations: 199.3 kB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.311, allocations: 191.2 kB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.3111, allocations: 44 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3112, allocations: 44 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.3113, allocations: 107.6 kB / 436.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.3115, allocations: 151.4 kB / 436.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.312, allocations: 455.7 kB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.312, allocations: 0 / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.312, allocations: 0 / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3121, allocations: 3.984 kB / 437.2 MB, free: 1.094 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.001549/0.3136, allocations: 0.618 MB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3136, allocations: 12.02 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.3138, allocations: 48.7 kB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.3144, allocations: 253.4 kB / 438.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3145, allocations: 76.39 kB / 438.2 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3145, allocations: 20.38 kB / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.3152, allocations: 417 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3152, allocations: 0 / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.3152, allocations: 8 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3152, allocations: 4 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3156, allocations: 169.7 kB / 438.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.3179, allocations: 0.8739 MB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3182, allocations: 110.5 kB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3185, allocations: 72.83 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3185, allocations: 0 / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3185, allocations: 42.48 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3185, allocations: 0 / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009932/0.3195, allocations: 287.3 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.3196, allocations: 158.2 kB / 440.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.32, allocations: 269.8 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.32, allocations: 33.7 kB / 440.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3202, allocations: 184.3 kB / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.3203, allocations: 51.53 kB / 440.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3204, allocations: 49.69 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.3206, allocations: 334.8 kB / 441.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3208, allocations: 83.95 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.3212, allocations: 235.9 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3215, allocations: 164.4 kB / 441.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3215, allocations: 4 kB / 441.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007303/0.3289, allocations: 0.8771 MB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.3289, allocations: 8 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3289, allocations: 3.938 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/0.3377, allocations: 0.8326 MB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3379, allocations: 19.92 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009592/0.3475, allocations: 4.567 MB / 448 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3478, allocations: 27.86 kB / 448 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3478, allocations: 12.05 kB / 448 MB, free: 5.684 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.000209/0.348, allocations: 141.8 kB / 448.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.3481, allocations: 27.8 kB / 448.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.3481, allocations: 21.78 kB / 448.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3481, allocations: 0 / 448.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3482, allocations: 4.062 kB / 448.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3482, allocations: 7.984 kB / 448.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.3491, allocations: 0.5083 MB / 448.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3491, allocations: 0 / 448.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.3493, allocations: 23.92 kB / 448.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.3495, allocations: 45.69 kB / 448.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3495, allocations: 12.02 kB / 448.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3517, allocations: 2.678 MB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3517, allocations: 256 / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.3522, allocations: 313.8 kB / 451.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3523, allocations: 23.86 kB / 451.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3523, allocations: 0 / 451.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3525, allocations: 15.98 kB / 451.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3526, allocations: 27.95 kB / 451.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3526, allocations: 11.98 kB / 451.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.3529, allocations: 201.2 kB / 452.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3529, allocations: 0 / 452.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006036/0.3535, allocations: 99.78 kB / 452.2 MB, free: 1.25 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.0001649/0.3537, allocations: 111.1 kB / 452.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3552, allocations: 0.5206 MB / 452.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3552, allocations: 4.062 kB / 452.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.3557, allocations: 321.4 kB / 453.1 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3561, allocations: 69.91 kB / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3572, allocations: 0.5085 MB / 453.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3574, allocations: 154.8 kB / 453.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3575, allocations: 25.95 kB / 453.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.3576, allocations: 27.42 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3576, allocations: 0 / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01465/0.3722, allocations: 8.543 MB / 462.5 MB, free: 6.922 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.245932856574655]