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.001298/0.001298, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001085/0.001085, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.948/0.948, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.606e-05, allocations: 7.266 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004501/0.004527, allocations: 2.666 MB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.006315, allocations: 0.8219 MB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.006544, allocations: 4 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.006713, allocations: 43.56 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.007111, allocations: 135 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.007622, allocations: 203.5 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.008254, allocations: 494.1 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.008509, allocations: 82.12 kB / 329 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.009136, allocations: 283.3 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.009507, allocations: 175.5 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.866e-05/0.009586, allocations: 48 kB / 329.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.009696, allocations: 44 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.009776, allocations: 91.72 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.009935, allocations: 135.6 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.0106, allocations: 482.5 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01061, allocations: 0 / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01061, allocations: 4 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.01062, allocations: 0 / 330.2 MB, free: 10.16 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.001224/0.01185, allocations: 0.6219 MB / 330.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.01189, allocations: 11.98 kB / 330.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.01201, allocations: 62.72 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.01214, allocations: 44.7 kB / 331 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.01249, allocations: 240.8 kB / 331.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.01257, allocations: 80.39 kB / 331.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.0126, allocations: 24.38 kB / 331.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.01298, allocations: 406.4 kB / 331.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.01299, allocations: 192 / 331.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.01301, allocations: 19.92 kB / 331.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.01302, allocations: 8 kB / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.01325, allocations: 161.9 kB / 331.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01468, allocations: 0.9212 MB / 332.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.0149, allocations: 110.5 kB / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01502, allocations: 72.81 kB / 333 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01504, allocations: 4 kB / 333 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.01506, allocations: 42.5 kB / 333 MB, free: 7.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.01507, allocations: 0 / 333 MB, free: 7.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005804/0.01565, allocations: 295.3 kB / 333.3 MB, free: 6.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.01571, allocations: 158.2 kB / 333.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01592, allocations: 277.8 kB / 333.7 MB, free: 6.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.01594, allocations: 33.7 kB / 333.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01604, allocations: 176.3 kB / 333.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.01607, allocations: 43.59 kB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.01614, allocations: 49.62 kB / 334 MB, free: 6.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.01623, allocations: 342.8 kB / 334.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.01635, allocations: 83.95 kB / 334.5 MB, free: 5.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01652, allocations: 235.9 kB / 334.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.01673, allocations: 169.6 kB / 334.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01673, allocations: 0 / 334.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003287/0.02002, allocations: 0.8838 MB / 335.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.02003, allocations: 4 kB / 335.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.02004, allocations: 4 kB / 335.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/0.02399, allocations: 0.8248 MB / 336.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.02405, allocations: 19.98 kB / 336.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.02938, allocations: 4.605 MB / 341.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.02952, allocations: 27.88 kB / 341.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.02954, allocations: 7.984 kB / 341.2 MB, free: 14.57 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.0001163/0.02966, allocations: 141.7 kB / 341.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.02969, allocations: 23.86 kB / 341.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.02972, allocations: 25.77 kB / 341.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02972, allocations: 4 kB / 341.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02972, allocations: 0 / 341.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.02973, allocations: 3.984 kB / 341.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.03034, allocations: 0.5585 MB / 342 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.03034, allocations: 0 / 342 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.0304, allocations: 19.98 kB / 342 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.827e-05/0.0305, allocations: 61.64 kB / 342.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.03051, allocations: 4 kB / 342.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.03185, allocations: 2.709 MB / 344.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03185, allocations: 0 / 344.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.03215, allocations: 309.8 kB / 345.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.03218, allocations: 27.8 kB / 345.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.0322, allocations: 8 kB / 345.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.0323, allocations: 20.02 kB / 345.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.03236, allocations: 32.14 kB / 345.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.03237, allocations: 4 kB / 345.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.03251, allocations: 205.1 kB / 345.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03251, allocations: 0 / 345.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.03285, allocations: 103.8 kB / 345.5 MB, free: 10 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.0004897/0.03334, allocations: 0.8464 MB / 346.3 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008165/0.03415, allocations: 0.5516 MB / 346.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.03416, allocations: 0 / 346.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.03438, allocations: 313.4 kB / 347.2 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.03466, allocations: 44.47 kB / 347.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.04336, allocations: 3.95 MB / 351.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.04348, allocations: 158.8 kB / 351.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.04357, allocations: 29.94 kB / 351.3 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.04368, allocations: 92.45 kB / 351.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04368, allocations: 0 / 351.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.07575, allocations: 11.61 MB / 363 MB, free: 8.336 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.47, allocations: 3.938 kB / 363 MB, free: 8.332 MB / 330.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable source.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable source.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable load.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable load.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! Error: Could not read variable load.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv. Warning: Get data of variable load.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.734346807003021]