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.0007701/0.0007701, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001868, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007091/0.0007091, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009275/0.001637, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0877/1.144, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.097e-05, allocations: 2.312 kB / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003552/0.003573, allocations: 2.873 MB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.005011, allocations: 0.8799 MB / 248.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.005139, allocations: 4 kB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.005259, allocations: 43.52 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.005524, allocations: 123.1 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.005873, allocations: 207.4 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.006322, allocations: 490.2 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.006479, allocations: 79.48 kB / 249.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.006884, allocations: 325.5 kB / 249.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.007196, allocations: 175.5 kB / 249.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.007251, allocations: 44 kB / 250 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.007357, allocations: 51.94 kB / 250 MB, free: 8.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.007415, allocations: 63.81 kB / 250.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.007519, allocations: 103.8 kB / 250.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.007846, allocations: 279.1 kB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.007858, allocations: 0 / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007859, allocations: 0 / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.00787, allocations: 0 / 250.4 MB, free: 8.449 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.001048/0.008919, allocations: 0.6632 MB / 251.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.008953, allocations: 12.03 kB / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.009148, allocations: 126 kB / 251.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.009454, allocations: 213.5 kB / 251.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.009527, allocations: 76.45 kB / 251.5 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.009567, allocations: 32.31 kB / 251.6 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.01002, allocations: 338.4 kB / 251.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01003, allocations: 192 / 251.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.01005, allocations: 8.125 kB / 251.9 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.01006, allocations: 8 kB / 251.9 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.01016, allocations: 51.47 kB / 252 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01136, allocations: 0.6879 MB / 252.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.01151, allocations: 70.53 kB / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.01159, allocations: 48.77 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.01161, allocations: 8 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.01163, allocations: 34.56 kB / 252.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.01163, allocations: 0 / 252.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004133/0.01204, allocations: 175.4 kB / 253 MB, free: 5.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.01207, allocations: 59.41 kB / 253 MB, free: 5.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01225, allocations: 241 kB / 253.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01227, allocations: 29.7 kB / 253.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.01235, allocations: 160.7 kB / 253.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.01238, allocations: 51.58 kB / 253.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.01245, allocations: 49.66 kB / 253.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.01255, allocations: 330.8 kB / 253.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.0126, allocations: 27.92 kB / 253.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01271, allocations: 171.9 kB / 254.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.01282, allocations: 85.53 kB / 254.1 MB, free: 4.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01283, allocations: 4 kB / 254.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00341/0.01624, allocations: 0.7235 MB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01625, allocations: 6.344 kB / 254.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01626, allocations: 3.938 kB / 254.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/0.02331, allocations: 1.445 MB / 256.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.02338, allocations: 19.92 kB / 256.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.02796, allocations: 3.51 MB / 259.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.02811, allocations: 19.89 kB / 259.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.02813, allocations: 7.984 kB / 259.9 MB, free: 14.5 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.0001169/0.02825, allocations: 121.8 kB / 260 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.02829, allocations: 19.98 kB / 260 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.02832, allocations: 29.77 kB / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.02833, allocations: 0 / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.02833, allocations: 8.094 kB / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.02834, allocations: 0 / 260.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.02879, allocations: 360.9 kB / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02879, allocations: 0 / 260.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.02887, allocations: 23.97 kB / 260.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.0289, allocations: 23.8 kB / 260.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.02905, allocations: 65.62 kB / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.02906, allocations: 0 / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.03047, allocations: 2.503 MB / 263 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03047, allocations: 192 / 263 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.03068, allocations: 229.9 kB / 263.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.03071, allocations: 4 kB / 263.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.03082, allocations: 15.98 kB / 263.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.03089, allocations: 27.95 kB / 263.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.0309, allocations: 4 kB / 263.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.03099, allocations: 86.77 kB / 263.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03099, allocations: 0 / 263.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.03142, allocations: 107.8 kB / 263.5 MB, free: 10.65 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.0001168/0.03154, allocations: 88.36 kB / 263.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.03229, allocations: 476.7 kB / 264 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.0323, allocations: 4 kB / 264 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.03253, allocations: 302.1 kB / 264.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.03293, allocations: 360 kB / 264.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.03532, allocations: 0.5262 MB / 265.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.717e-05/0.03539, allocations: 92.31 kB / 265.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.23e-05/0.03548, allocations: 21.94 kB / 265.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.03564, allocations: 103.3 kB / 265.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03564, allocations: 4 kB / 265.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of Templates: time 0.01128/0.04693, allocations: 7.985 MB / 273.4 MB, free: 0.5938 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] 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","",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.9190185368061066]