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.001884/0.001884, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002059/0.002059, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.725/1.725, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001832/0.001832, allocations: 47.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4353, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005985/0.4413, allocations: 2.657 MB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.4433, allocations: 0.8259 MB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.4435, allocations: 4 kB / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.4437, allocations: 51.5 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.4441, allocations: 119.1 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.4447, allocations: 199.6 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.4453, allocations: 490.3 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.4455, allocations: 85.91 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.4459, allocations: 203.3 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.4463, allocations: 219.2 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.536e-05/0.4464, allocations: 40 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4465, allocations: 48 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4466, allocations: 91.67 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4468, allocations: 163.3 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.4474, allocations: 456.1 kB / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4474, allocations: 0 / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4474, allocations: 0 / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.4474, allocations: 0 / 438 MB, free: 1.082 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.001768/0.4492, allocations: 0.6258 MB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4492, allocations: 8.031 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.4495, allocations: 48.69 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.4501, allocations: 249.4 kB / 438.9 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4502, allocations: 68.41 kB / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.4503, allocations: 24.38 kB / 439 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.4509, allocations: 421 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.451, allocations: 0 / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.451, allocations: 4 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.451, allocations: 8 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.4514, allocations: 165.7 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.4539, allocations: 0.8777 MB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.4542, allocations: 110.5 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.4544, allocations: 72.83 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4545, allocations: 0 / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4545, allocations: 42.5 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4545, allocations: 0 / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001016/0.4555, allocations: 287.3 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.4557, allocations: 158.2 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.456, allocations: 269.8 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.4561, allocations: 29.7 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4562, allocations: 180.3 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.4563, allocations: 55.53 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.4564, allocations: 49.67 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4566, allocations: 342.7 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.4568, allocations: 79.97 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4571, allocations: 247.3 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.4575, allocations: 167.7 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4575, allocations: 0 / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008808/0.4663, allocations: 0.8764 MB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4663, allocations: 4 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4663, allocations: 7.938 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/0.478, allocations: 0.8287 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.4782, allocations: 19.98 kB / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4885, allocations: 4.564 MB / 448.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.489, allocations: 31.86 kB / 448.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.489, allocations: 4 kB / 448.8 MB, free: 5.676 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.000254/0.4893, allocations: 137.9 kB / 449 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.4893, allocations: 27.8 kB / 449 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.4894, allocations: 29.77 kB / 449 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4894, allocations: 0 / 449 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4894, allocations: 4.125 kB / 449 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4894, allocations: 7.984 kB / 449 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4905, allocations: 0.5044 MB / 449.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4905, allocations: 0 / 449.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4906, allocations: 23.92 kB / 449.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.4908, allocations: 53.72 kB / 449.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.4909, allocations: 7.984 kB / 449.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.4934, allocations: 2.678 MB / 452.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4934, allocations: 4.031 kB / 452.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.4941, allocations: 305.8 kB / 452.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.4941, allocations: 27.84 kB / 452.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.4942, allocations: 4.094 kB / 452.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.4944, allocations: 15.98 kB / 452.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.4945, allocations: 31.95 kB / 452.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4946, allocations: 8.172 kB / 452.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.4948, allocations: 189.2 kB / 452.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4948, allocations: 7.875 kB / 452.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006792/0.4955, allocations: 103.8 kB / 453 MB, free: 1.234 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.0001759/0.4957, allocations: 115.1 kB / 453.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4973, allocations: 0.5271 MB / 453.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4973, allocations: 0 / 453.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.4978, allocations: 321.2 kB / 453.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.4983, allocations: 53.33 kB / 454 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4995, allocations: 0.5194 MB / 454.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4996, allocations: 158.8 kB / 454.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.4998, allocations: 17.95 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.4998, allocations: 27.42 kB / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4998, allocations: 8 kB / 454.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Templates: time 0.01656/0.5164, allocations: 8.584 MB / 463.3 MB, free: 6.863 MB / 366.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins1/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.981482588991639]