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.001214/0.001214, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.003026, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001049/0.001049, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002512, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.102/1.102, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09448/1.196, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.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.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.102e-06/1.102e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.806e-05, allocations: 6.312 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002749/0.002767, allocations: 2.865 MB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003998, allocations: 0.8683 MB / 249 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.004131, allocations: 7.938 kB / 249 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.469e-05/0.004226, allocations: 47.5 kB / 249 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.004463, allocations: 127 kB / 249.2 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.004779, allocations: 207.5 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.005173, allocations: 490 kB / 249.8 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.005316, allocations: 83.48 kB / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.005736, allocations: 329.5 kB / 250.2 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.006035, allocations: 167.5 kB / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.006094, allocations: 47.94 kB / 250.5 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006202, allocations: 55.86 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.006261, allocations: 63.81 kB / 250.6 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.006372, allocations: 107.8 kB / 250.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.006701, allocations: 271.2 kB / 250.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.006712, allocations: 0 / 250.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006713, allocations: 0 / 250.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.006722, allocations: 0 / 250.9 MB, free: 7.781 MB / 250.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.001029/0.007751, allocations: 0.6632 MB / 251.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.007783, allocations: 8.625 kB / 251.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.00797, allocations: 126 kB / 251.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.008263, allocations: 217.4 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.008333, allocations: 76.41 kB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.008372, allocations: 28.38 kB / 252.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.008672, allocations: 338.3 kB / 252.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.008682, allocations: 4.188 kB / 252.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.008705, allocations: 16.12 kB / 252.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.008713, allocations: 4 kB / 252.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.008809, allocations: 55.47 kB / 252.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01006, allocations: 0.6918 MB / 253.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.01022, allocations: 66.56 kB / 253.2 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.0103, allocations: 48.81 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.01032, allocations: 0 / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01034, allocations: 34.56 kB / 253.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.01034, allocations: 0 / 253.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004361/0.01078, allocations: 179.4 kB / 253.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.0108, allocations: 55.41 kB / 253.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.01098, allocations: 233 kB / 253.8 MB, free: 4.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01101, allocations: 29.7 kB / 253.8 MB, free: 4.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.0111, allocations: 168.7 kB / 253.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.01113, allocations: 47.58 kB / 254 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.0112, allocations: 49.66 kB / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.0113, allocations: 338.8 kB / 254.4 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.01136, allocations: 31.86 kB / 254.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01147, allocations: 179.9 kB / 254.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.01159, allocations: 69.67 kB / 254.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01159, allocations: 0 / 254.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003447/0.01504, allocations: 0.7201 MB / 255.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01506, allocations: 8 kB / 255.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01506, allocations: 8.016 kB / 255.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006911/0.02198, allocations: 1.445 MB / 256.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.02206, allocations: 19.97 kB / 256.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.02688, allocations: 3.505 MB / 260.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.02704, allocations: 23.88 kB / 260.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.02705, allocations: 8.031 kB / 260.4 MB, free: 13.83 MB / 266.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.0001147/0.02717, allocations: 121.8 kB / 260.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.02721, allocations: 20.02 kB / 260.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.02725, allocations: 29.75 kB / 260.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.02725, allocations: 4 kB / 260.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.02726, allocations: 4.062 kB / 260.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02726, allocations: 0 / 260.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.02774, allocations: 368.8 kB / 260.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02775, allocations: 0 / 260.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.02782, allocations: 19.98 kB / 260.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.02786, allocations: 23.8 kB / 261 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.02802, allocations: 57.69 kB / 261 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.02803, allocations: 7.984 kB / 261 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.02932, allocations: 2.498 MB / 263.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02932, allocations: 3.984 kB / 263.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.02955, allocations: 217.9 kB / 263.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.02957, allocations: 12.08 kB / 263.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.02969, allocations: 8 kB / 263.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.02976, allocations: 35.89 kB / 263.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.02977, allocations: 3.984 kB / 263.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.02986, allocations: 86.77 kB / 263.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02986, allocations: 4 kB / 263.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004404/0.0303, allocations: 103.8 kB / 264 MB, free: 9.984 MB / 266.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.0001164/0.03042, allocations: 88.42 kB / 264.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.03121, allocations: 480.6 kB / 264.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.03122, allocations: 0 / 264.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.03146, allocations: 302 kB / 264.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.03189, allocations: 356.2 kB / 265.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.03436, allocations: 0.5206 MB / 265.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.03443, allocations: 92.55 kB / 265.8 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.067e-05/0.03452, allocations: 21.95 kB / 265.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.03469, allocations: 111.3 kB / 265.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.03469, allocations: 0 / 265.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.04623, allocations: 7.979 MB / 273.9 MB, free: 15.93 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8781084790825844]