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.001262/0.001262, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001388/0.001388, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 8.004 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: "" <> 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 0.00151/0.00151, allocations: 47.92 kB / 377.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 53.36 MB / 431.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004417/0.2551, allocations: 2.873 MB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2568, allocations: 0.8648 MB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2569, allocations: 11.94 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.257, allocations: 39.58 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.2574, allocations: 123.1 kB / 435.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.2578, allocations: 195.6 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.2584, allocations: 498.2 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2586, allocations: 85.92 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.2589, allocations: 199.4 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.2592, allocations: 219.2 kB / 436.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.2593, allocations: 44 kB / 436.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.2594, allocations: 44 kB / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2595, allocations: 99.66 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2597, allocations: 179.2 kB / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.2602, allocations: 458.8 kB / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2602, allocations: 0 / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2602, allocations: 0 / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2602, allocations: 4 kB / 437.1 MB, free: 0.9062 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.2619, allocations: 0.6286 MB / 437.7 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2619, allocations: 12.03 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.262, allocations: 50.73 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.2622, allocations: 48.69 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.2628, allocations: 249.5 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.2629, allocations: 72.41 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.263, allocations: 20.38 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2635, allocations: 284.3 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2635, allocations: 0 / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.2636, allocations: 8 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2636, allocations: 12 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.2639, allocations: 157.7 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.2664, allocations: 1.014 MB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.2667, allocations: 114.5 kB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2669, allocations: 72.81 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2669, allocations: 7.984 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.267, allocations: 38.5 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.267, allocations: 0 / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009579/0.2679, allocations: 290.6 kB / 440.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.268, allocations: 158.2 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.2684, allocations: 277.8 kB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2684, allocations: 25.7 kB / 440.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2686, allocations: 184.2 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.2686, allocations: 51.59 kB / 440.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.2687, allocations: 49.69 kB / 440.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2689, allocations: 334.8 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2691, allocations: 83.95 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.2693, allocations: 131.4 kB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2696, allocations: 165.7 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2696, allocations: 0 / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007813/0.2774, allocations: 0.8887 MB / 442.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2775, allocations: 6.656 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.2775, allocations: 8 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009615/0.2871, allocations: 0.8209 MB / 443.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2872, allocations: 19.98 kB / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.2967, allocations: 4.698 MB / 448 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.2971, allocations: 27.81 kB / 448 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2971, allocations: 11.98 kB / 448 MB, free: 5.41 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.000181/0.2973, allocations: 137.8 kB / 448.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.2973, allocations: 23.86 kB / 448.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.2974, allocations: 25.77 kB / 448.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2974, allocations: 4.062 kB / 448.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.2974, allocations: 4 kB / 448.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2974, allocations: 0 / 448.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2985, allocations: 0.5974 MB / 448.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2985, allocations: 0 / 448.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.2986, allocations: 23.92 kB / 448.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.2988, allocations: 53.7 kB / 448.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.2988, allocations: 4 kB / 448.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.301, allocations: 2.728 MB / 451.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.301, allocations: 0 / 451.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.3015, allocations: 309.9 kB / 451.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.3016, allocations: 27.78 kB / 451.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.3016, allocations: 4 kB / 451.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3018, allocations: 15.98 kB / 452 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.3019, allocations: 27.95 kB / 452 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3019, allocations: 11.98 kB / 452 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3021, allocations: 193.2 kB / 452.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3021, allocations: 0 / 452.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.3026, allocations: 99.78 kB / 452.3 MB, free: 0.8125 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.0008868/0.3035, allocations: 0.8586 MB / 453.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3051, allocations: 0.5283 MB / 453.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3051, allocations: 3.938 kB / 453.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.3055, allocations: 321.2 kB / 454 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.3059, allocations: 56.41 kB / 454 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.3245, allocations: 3.97 MB / 458 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3249, allocations: 0.7597 MB / 458.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.325, allocations: 17.95 kB / 458.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3252, allocations: 91.39 kB / 458.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3252, allocations: 7.938 kB / 458.9 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.3698, allocations: 9.972 MB / 468.9 MB, free: 172 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.21, allocations: 11.59 kB / 468.9 MB, free: 164 kB / 366.1 MB " [Timeout remaining time 647] (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/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] "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: 16.220965624997916]