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.001033/0.001033, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001024/0.001024, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 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 0.9133/0.9133, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.05e-05, allocations: 11.77 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002673/0.002694, allocations: 2.665 MB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003741, allocations: 0.8335 MB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.003854, allocations: 4 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003975, allocations: 43.52 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.00423, allocations: 119.1 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.004536, allocations: 207.5 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.004877, allocations: 0.4942 MB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.005042, allocations: 74.12 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.005335, allocations: 283.4 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.005537, allocations: 167.5 kB / 329.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.005583, allocations: 44 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.005653, allocations: 52 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.005714, allocations: 95.64 kB / 329.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.005809, allocations: 135.7 kB / 329.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.006192, allocations: 482.5 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006195, allocations: 0 / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006196, allocations: 4 kB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006201, allocations: 0 / 330.3 MB, free: 10.19 MB / 298.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.0009254/0.007126, allocations: 0.6181 MB / 330.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.007166, allocations: 11.97 kB / 330.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.007214, allocations: 58.72 kB / 331 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.007345, allocations: 48.69 kB / 331 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.007686, allocations: 244.7 kB / 331.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.007754, allocations: 76.45 kB / 331.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.007783, allocations: 24.38 kB / 331.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.008144, allocations: 414.3 kB / 331.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.008153, allocations: 192 / 331.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.008173, allocations: 15.92 kB / 331.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.008179, allocations: 4 kB / 331.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.008395, allocations: 161.9 kB / 331.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.009687, allocations: 0.9252 MB / 332.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.009914, allocations: 106.5 kB / 333 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.01005, allocations: 72.83 kB / 333 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.01006, allocations: 4 kB / 333 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.01008, allocations: 38.5 kB / 333.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.01009, allocations: 3.938 kB / 333.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005788/0.01067, allocations: 287.3 kB / 333.4 MB, free: 6.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.01072, allocations: 158.2 kB / 333.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01093, allocations: 273.8 kB / 333.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.01096, allocations: 33.7 kB / 333.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.01104, allocations: 176.3 kB / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.01107, allocations: 51.58 kB / 334 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.01114, allocations: 53.67 kB / 334.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.01122, allocations: 334.8 kB / 334.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.01134, allocations: 87.89 kB / 334.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.01151, allocations: 239.9 kB / 334.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01172, allocations: 157.6 kB / 334.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01172, allocations: 3.984 kB / 334.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003256/0.01498, allocations: 0.881 MB / 335.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.015, allocations: 8 kB / 335.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.015, allocations: 0 / 335.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/0.0189, allocations: 0.8287 MB / 336.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.01898, allocations: 23.91 kB / 336.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.02427, allocations: 4.61 MB / 341.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02445, allocations: 31.95 kB / 341.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.02446, allocations: 8 kB / 341.3 MB, free: 14.59 MB / 314.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.0001419/0.02461, allocations: 145.9 kB / 341.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.02465, allocations: 27.84 kB / 341.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.02467, allocations: 25.78 kB / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.02467, allocations: 0 / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.02468, allocations: 0 / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02468, allocations: 7.984 kB / 341.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.02528, allocations: 0.5468 MB / 342 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02528, allocations: 4.031 kB / 342 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.02534, allocations: 19.98 kB / 342.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.02545, allocations: 61.55 kB / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.02546, allocations: 0 / 342.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.02702, allocations: 2.712 MB / 344.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.02703, allocations: 3.938 kB / 344.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.02733, allocations: 309.8 kB / 345.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.02736, allocations: 31.8 kB / 345.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.02738, allocations: 0 / 345.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02749, allocations: 23.92 kB / 345.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.02755, allocations: 27.95 kB / 345.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.02756, allocations: 8 kB / 345.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.0277, allocations: 197.2 kB / 345.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0277, allocations: 0 / 345.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000377/0.02808, allocations: 95.83 kB / 345.5 MB, free: 10.04 MB / 314.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.0004943/0.02857, allocations: 0.8477 MB / 346.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000844/0.02942, allocations: 0.5477 MB / 346.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02942, allocations: 3.938 kB / 346.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.02966, allocations: 309.3 kB / 347.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.03, allocations: 52.47 kB / 347.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.0384, allocations: 3.941 MB / 351.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.03853, allocations: 162.8 kB / 351.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.03863, allocations: 25.94 kB / 351.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.03875, allocations: 92.45 kB / 351.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03875, allocations: 4 kB / 351.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.06697, allocations: 11.61 MB / 363.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.462, allocations: 5 kB / 363.1 MB, free: 8.41 MB / 330.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv","/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] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable source.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable source.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable load.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable load.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable load.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable load.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.622702555730939]