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.001797/0.001797, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002284/0.002284, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001615/0.001615, allocations: 47.92 kB / 378.2 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3246, allocations: 53.37 MB / 431.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004748/0.3294, allocations: 2.657 MB / 434.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3312, allocations: 0.8375 MB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3313, allocations: 4 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3315, allocations: 43.56 kB / 435.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.3318, allocations: 119.1 kB / 435.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3322, allocations: 199.6 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.3328, allocations: 486.4 kB / 435.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.333, allocations: 86.09 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.3333, allocations: 199.3 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.3336, allocations: 219.2 kB / 436.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.3337, allocations: 44 kB / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3338, allocations: 44 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.3339, allocations: 91.67 kB / 436.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.3341, allocations: 159.3 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3346, allocations: 464.6 kB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3346, allocations: 4 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3346, allocations: 0 / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3346, allocations: 0 / 437.2 MB, free: 1.047 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.001522/0.3362, allocations: 0.6142 MB / 437.8 MB, free: 412 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3362, allocations: 8.031 kB / 437.8 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.3364, allocations: 56.62 kB / 437.9 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.337, allocations: 245.4 kB / 438.1 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.3371, allocations: 76.45 kB / 438.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.3371, allocations: 20.38 kB / 438.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.3377, allocations: 416.9 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3377, allocations: 0 / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.3378, allocations: 12 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3378, allocations: 4 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.3382, allocations: 157.7 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.3405, allocations: 0.8817 MB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3409, allocations: 106.5 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3411, allocations: 76.83 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3411, allocations: 0 / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3412, allocations: 46.44 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3412, allocations: 0 / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001038/0.3422, allocations: 283.3 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.3423, allocations: 158.2 kB / 440.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.3427, allocations: 269.8 kB / 440.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.3427, allocations: 33.64 kB / 440.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3429, allocations: 176.3 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.343, allocations: 55.52 kB / 440.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3431, allocations: 49.67 kB / 440.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3432, allocations: 334.8 kB / 441.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3435, allocations: 87.95 kB / 441.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3437, allocations: 239.9 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.3441, allocations: 169.6 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3441, allocations: 0 / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007259/0.3514, allocations: 0.8842 MB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3514, allocations: 4 kB / 442.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3514, allocations: 7.938 kB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.36, allocations: 0.8248 MB / 443.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3602, allocations: 19.98 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009495/0.3697, allocations: 4.56 MB / 448 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.37, allocations: 27.83 kB / 448.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.37, allocations: 11.97 kB / 448.1 MB, free: 5.645 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.000215/0.3702, allocations: 137.8 kB / 448.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.3703, allocations: 27.86 kB / 448.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.3704, allocations: 29.77 kB / 448.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3704, allocations: 0 / 448.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3704, allocations: 0 / 448.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3704, allocations: 4.062 kB / 448.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.3713, allocations: 0.5154 MB / 448.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3713, allocations: 4.031 kB / 448.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3714, allocations: 19.97 kB / 448.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.3716, allocations: 49.69 kB / 448.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3716, allocations: 4 kB / 448.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.3738, allocations: 2.69 MB / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3738, allocations: 0 / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.3744, allocations: 310 kB / 451.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3745, allocations: 27.84 kB / 451.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.3745, allocations: 4 kB / 451.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3747, allocations: 11.98 kB / 451.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.3748, allocations: 31.95 kB / 451.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3748, allocations: 4 kB / 451.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.375, allocations: 197.2 kB / 452.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 0 / 452.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.3756, allocations: 103.8 kB / 452.2 MB, free: 1.207 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.0001399/0.3757, allocations: 107.1 kB / 452.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.3772, allocations: 0.5283 MB / 452.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3772, allocations: 0 / 452.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.3777, allocations: 329.3 kB / 453.2 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.3781, allocations: 53.33 kB / 453.2 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3792, allocations: 0.527 MB / 453.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3794, allocations: 154.8 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3795, allocations: 21.95 kB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3796, allocations: 31.42 kB / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3796, allocations: 0 / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01478/0.3944, allocations: 8.585 MB / 462.5 MB, free: 6.824 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.478277985937893]