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.001329/0.001329, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.001465/0.001465, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001845/0.001845, allocations: 63.89 kB / 378.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2903, allocations: 53.36 MB / 432.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.007074/0.2974, allocations: 2.878 MB / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.2999, allocations: 0.8725 MB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003843/0.3003, allocations: 8 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3006, allocations: 43.56 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.3012, allocations: 123.1 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.3019, allocations: 199.6 kB / 436.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009027/0.3028, allocations: 482.3 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.3031, allocations: 97.83 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3036, allocations: 195.4 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.304, allocations: 215.2 kB / 437.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.3041, allocations: 44 kB / 437.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3042, allocations: 48 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3044, allocations: 99.66 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.3046, allocations: 179.2 kB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.3053, allocations: 464 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3053, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3053, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3053, allocations: 4 kB / 438 MB, free: 1.133 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.001642/0.3069, allocations: 0.618 MB / 438.7 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.307, allocations: 8.031 kB / 438.7 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.3072, allocations: 48.69 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.3077, allocations: 245.5 kB / 439 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.822e-05/0.3078, allocations: 50.69 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.3079, allocations: 24.38 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.3084, allocations: 280.5 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3085, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.3085, allocations: 8 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3085, allocations: 4 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.3089, allocations: 169.7 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.3113, allocations: 1.006 MB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3117, allocations: 110.5 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3119, allocations: 72.77 kB / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3119, allocations: 0 / 440.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.312, allocations: 50.48 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.312, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001051/0.313, allocations: 291.2 kB / 441 MB, free: 13.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.3132, allocations: 154.2 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3136, allocations: 277.8 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3136, allocations: 29.69 kB / 441.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3138, allocations: 180.3 kB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.3138, allocations: 51.52 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3139, allocations: 49.69 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3141, allocations: 338.8 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3143, allocations: 83.95 kB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3146, allocations: 132.7 kB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.3149, allocations: 172.4 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3149, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007845/0.3227, allocations: 0.8771 MB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3228, allocations: 7.938 kB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3228, allocations: 0 / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009474/0.3322, allocations: 0.8365 MB / 444.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3324, allocations: 15.98 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.3424, allocations: 4.697 MB / 448.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.3428, allocations: 27.86 kB / 448.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3428, allocations: 11.98 kB / 448.9 MB, free: 5.738 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.0002239/0.3431, allocations: 141.8 kB / 449.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3432, allocations: 23.86 kB / 449.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.3432, allocations: 25.77 kB / 449.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3432, allocations: 4 kB / 449.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3432, allocations: 0 / 449.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3432, allocations: 0 / 449.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3443, allocations: 0.5857 MB / 449.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3443, allocations: 4 kB / 449.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3445, allocations: 19.92 kB / 449.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.3447, allocations: 57.7 kB / 449.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3447, allocations: 4 kB / 449.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.347, allocations: 2.728 MB / 452.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.347, allocations: 4.031 kB / 452.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.3476, allocations: 309.8 kB / 452.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.3477, allocations: 27.84 kB / 452.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.3477, allocations: 7.938 kB / 452.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3479, allocations: 11.98 kB / 452.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.348, allocations: 27.95 kB / 452.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.348, allocations: 12 kB / 452.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3483, allocations: 197.2 kB / 453.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3483, allocations: 0 / 453.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006022/0.3489, allocations: 103.8 kB / 453.2 MB, free: 1.137 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.0001618/0.349, allocations: 107.2 kB / 453.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3507, allocations: 0.5312 MB / 453.8 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3507, allocations: 0 / 453.8 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.3512, allocations: 321.2 kB / 454.1 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.3517, allocations: 60.12 kB / 454.2 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3529, allocations: 0.5253 MB / 454.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.3534, allocations: 0.7712 MB / 455.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.3535, allocations: 17.95 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.3536, allocations: 23.42 kB / 455.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3536, allocations: 4 kB / 455.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01579/0.3694, allocations: 7.333 MB / 462.9 MB, free: 7.344 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.040738673880696]