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.001839/0.001839, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001953/0.001953, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.312e-06/1.312e-06, allocations: 0 / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.066e-05, allocations: 2.312 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005253/0.005284, allocations: 2.813 MB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.00739, allocations: 0.8297 MB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.007747, allocations: 8 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.008011, allocations: 43.52 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.00858, allocations: 123 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.009207, allocations: 207.5 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.01003, allocations: 498.1 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.01028, allocations: 81.53 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.01089, allocations: 279.4 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.01131, allocations: 171.5 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.01141, allocations: 44 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.01154, allocations: 51.94 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01165, allocations: 95.64 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.01186, allocations: 135.7 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000713/0.01258, allocations: 486.5 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01258, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01258, allocations: 4 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.0126, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.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.002088/0.01468, allocations: 0.7333 MB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01473, allocations: 12.02 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.015, allocations: 60.7 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.01548, allocations: 247.6 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.01559, allocations: 72.47 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.309e-05/0.01564, allocations: 32.31 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.01629, allocations: 432.5 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01631, allocations: 192 / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.01634, allocations: 12.12 kB / 279.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01635, allocations: 8 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.01671, allocations: 149.9 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.01924, allocations: 0.9992 MB / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.01956, allocations: 123 kB / 281 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.01976, allocations: 75.59 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.01978, allocations: 4 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.01984, allocations: 37.64 kB / 281.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01984, allocations: 4 kB / 281.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009902/0.02083, allocations: 284.7 kB / 281.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.02095, allocations: 154.2 kB / 281.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.02139, allocations: 360.3 kB / 281.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.02143, allocations: 33.7 kB / 282 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.02164, allocations: 239 kB / 282.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.02169, allocations: 47.59 kB / 282.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.02182, allocations: 55.33 kB / 282.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.02213, allocations: 0.5235 MB / 282.8 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.02233, allocations: 83.97 kB / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.02265, allocations: 248.9 kB / 283.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.02302, allocations: 182.3 kB / 283.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02302, allocations: 0 / 283.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008148/0.03117, allocations: 0.8904 MB / 284.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.0312, allocations: 8 kB / 284.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.03121, allocations: 7.984 kB / 284.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/0.04712, allocations: 1.486 MB / 285.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.04725, allocations: 15.98 kB / 285.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.05877, allocations: 5.759 MB / 291.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.05911, allocations: 27.84 kB / 291.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.05914, allocations: 7.984 kB / 291.5 MB, free: 13.96 MB / 282.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.0002449/0.05938, allocations: 184.6 kB / 291.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.05945, allocations: 23.86 kB / 291.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.05951, allocations: 33.7 kB / 291.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.05951, allocations: 0 / 291.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.05952, allocations: 4 kB / 291.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.05953, allocations: 0 / 291.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.06061, allocations: 0.6017 MB / 292.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.06062, allocations: 0 / 292.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.06075, allocations: 23.98 kB / 292.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.06107, allocations: 67.36 kB / 292.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.06109, allocations: 7.984 kB / 292.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.06446, allocations: 3.806 MB / 296.3 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.06446, allocations: 3.938 kB / 296.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.06507, allocations: 370.7 kB / 296.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.06513, allocations: 27.78 kB / 296.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.06517, allocations: 8 kB / 296.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.06536, allocations: 4 kB / 296.7 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.06546, allocations: 43.95 kB / 296.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.06548, allocations: 7.984 kB / 296.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.06576, allocations: 245.1 kB / 297 MB, free: 8.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06576, allocations: 0 / 297 MB, free: 8.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005572/0.06631, allocations: 99.84 kB / 297.1 MB, free: 8.074 MB / 282.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.0001607/0.06648, allocations: 103.2 kB / 297.2 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.06817, allocations: 0.6659 MB / 297.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.06817, allocations: 0 / 297.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.06875, allocations: 439.2 kB / 298.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.0692, allocations: 60.41 kB / 298.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.07023, allocations: 0.5143 MB / 298.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.0704, allocations: 150.9 kB / 299 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.07051, allocations: 29.94 kB / 299 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.07058, allocations: 20.5 kB / 299 MB, free: 5.977 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.07059, allocations: 0 / 299 MB, free: 5.977 MB / 282.7 MB Notification: Performance of Templates: time 0.1456/0.2161, allocations: 8.557 MB / 307.6 MB, free: 41.33 MB / 282.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 -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","/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.035745540051721]