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.001083/0.001083, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002574, allocations: 449.7 kB / 10.37 MB, free: 328 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.001052/0.001052, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002363, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9542/0.9542, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09205/1.046, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.463e-06/1.463e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.552e-05, allocations: 6.25 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002634/0.002649, allocations: 2.869 MB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003674, allocations: 0.8643 MB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.003769, allocations: 4 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.606e-05/0.003845, allocations: 47.58 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.00402, allocations: 135 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.004254, allocations: 191.6 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.004604, allocations: 494.2 kB / 249.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.004768, allocations: 79.44 kB / 249.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.00507, allocations: 329.5 kB / 249.6 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.005256, allocations: 175.5 kB / 249.7 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.005299, allocations: 40 kB / 249.8 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.005388, allocations: 55.94 kB / 249.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.005436, allocations: 63.81 kB / 249.9 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.005527, allocations: 103.8 kB / 250 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.005966, allocations: 275.1 kB / 250.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.005982, allocations: 0 / 250.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005982, allocations: 0 / 250.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.005998, allocations: 4 kB / 250.3 MB, free: 8.574 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.0008778/0.006876, allocations: 0.6632 MB / 250.9 MB, free: 7.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.006904, allocations: 8.031 kB / 250.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.007054, allocations: 130 kB / 251.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.007282, allocations: 209.5 kB / 251.3 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.007341, allocations: 72.45 kB / 251.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.007367, allocations: 24.38 kB / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.007609, allocations: 346.3 kB / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007618, allocations: 192 / 251.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.007634, allocations: 12.12 kB / 251.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007641, allocations: 4 kB / 251.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.007718, allocations: 55.47 kB / 251.8 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.008688, allocations: 0.6957 MB / 252.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.008828, allocations: 70.53 kB / 252.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.008893, allocations: 40.84 kB / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.008908, allocations: 8 kB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.008929, allocations: 30.56 kB / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.008931, allocations: 0 / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003623/0.009293, allocations: 187.3 kB / 252.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.009323, allocations: 55.39 kB / 252.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.009466, allocations: 237 kB / 253.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.009486, allocations: 29.7 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.009559, allocations: 168.7 kB / 253.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.009586, allocations: 51.52 kB / 253.3 MB, free: 5.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.009645, allocations: 49.66 kB / 253.4 MB, free: 5.211 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.009722, allocations: 330.8 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.009763, allocations: 27.92 kB / 253.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.261e-05/0.009855, allocations: 171.9 kB / 253.9 MB, free: 4.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.161e-05/0.009947, allocations: 84.34 kB / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009949, allocations: 0 / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002597/0.01255, allocations: 0.7247 MB / 254.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.01257, allocations: 4 kB / 254.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01257, allocations: 0 / 254.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005355/0.01793, allocations: 1.445 MB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.01799, allocations: 19.98 kB / 256.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.02209, allocations: 3.501 MB / 259.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.0222, allocations: 23.92 kB / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.02221, allocations: 7.984 kB / 259.7 MB, free: 14.63 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 9.43e-05/0.0223, allocations: 117.8 kB / 259.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.02234, allocations: 19.98 kB / 259.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.02236, allocations: 25.77 kB / 259.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02236, allocations: 4 kB / 259.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.02237, allocations: 0 / 259.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02237, allocations: 0 / 259.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.02274, allocations: 368.8 kB / 260.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02274, allocations: 0 / 260.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.0228, allocations: 27.97 kB / 260.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.02283, allocations: 23.8 kB / 260.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.02295, allocations: 65.62 kB / 260.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.02296, allocations: 0 / 260.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.02398, allocations: 2.507 MB / 262.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02398, allocations: 4 kB / 262.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.02416, allocations: 226 kB / 263.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.02418, allocations: 8 kB / 263.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.02425, allocations: 8 kB / 263.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.02431, allocations: 39.88 kB / 263.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.02432, allocations: 0 / 263.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.02438, allocations: 86.77 kB / 263.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.02438, allocations: 0 / 263.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.02465, allocations: 107.8 kB / 263.3 MB, free: 10.77 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 9.497e-05/0.02474, allocations: 80.42 kB / 263.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.02535, allocations: 480 kB / 263.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.02536, allocations: 4 kB / 263.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.02553, allocations: 297.9 kB / 264.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.02576, allocations: 80.47 kB / 264.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.02791, allocations: 0.5237 MB / 264.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.02796, allocations: 92.3 kB / 264.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.02803, allocations: 25.94 kB / 264.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.02815, allocations: 103.3 kB / 265 MB, free: 8.992 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02815, allocations: 0 / 265 MB, free: 8.992 MB / 266.7 MB Notification: Performance of Templates: time 0.01064/0.0388, allocations: 9.033 MB / 274 MB, free: 20 kB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.778552525676787]