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.001256/0.001256, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001406/0.001406, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001551/0.001551, allocations: 51.92 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004093/0.2639, allocations: 2.648 MB / 433.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2654, allocations: 0.818 MB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2656, allocations: 4 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2657, allocations: 51.5 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.266, allocations: 123.1 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.2665, allocations: 207.6 kB / 435 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.2669, allocations: 478.3 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2671, allocations: 85.89 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.2674, allocations: 195.3 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.2677, allocations: 199.1 kB / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.2678, allocations: 44 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2679, allocations: 52 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.268, allocations: 91.72 kB / 436.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.2682, allocations: 159.3 kB / 436.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.2687, allocations: 454.9 kB / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2687, allocations: 0 / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2687, allocations: 0 / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2687, allocations: 0 / 436.7 MB, free: 1.023 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.001441/0.2701, allocations: 0.6258 MB / 437.3 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2701, allocations: 12.03 kB / 437.3 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.604e-05/0.2702, allocations: 62.67 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2704, allocations: 48.69 kB / 437.4 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.2709, allocations: 245.5 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.271, allocations: 72.41 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.271, allocations: 28.36 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.2716, allocations: 412.8 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2716, allocations: 0 / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.2716, allocations: 12 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2716, allocations: 4 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.272, allocations: 161.7 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.2741, allocations: 0.9202 MB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.2745, allocations: 110.5 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2747, allocations: 76.81 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.2747, allocations: 0 / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2747, allocations: 38.56 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.2747, allocations: 4 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000939/0.2756, allocations: 286.3 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.2757, allocations: 158.2 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2761, allocations: 277.8 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.2761, allocations: 29.7 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.2762, allocations: 176.3 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.2763, allocations: 47.59 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.2764, allocations: 45.69 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2765, allocations: 338.8 kB / 440.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2767, allocations: 91.95 kB / 440.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.277, allocations: 239.8 kB / 441.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2773, allocations: 172.2 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2773, allocations: 0 / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007236/0.2846, allocations: 0.8875 MB / 442.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2846, allocations: 4 kB / 442.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2846, allocations: 0 / 442.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008671/0.2933, allocations: 0.8288 MB / 443 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2934, allocations: 19.97 kB / 443.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/0.3024, allocations: 4.605 MB / 447.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3027, allocations: 27.95 kB / 447.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3027, allocations: 8 kB / 447.7 MB, free: 5.422 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.0001834/0.3029, allocations: 147.9 kB / 447.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3029, allocations: 23.86 kB / 447.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.303, allocations: 25.77 kB / 447.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.303, allocations: 4 kB / 447.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.303, allocations: 4.062 kB / 447.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.303, allocations: 3.984 kB / 447.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.3039, allocations: 0.5506 MB / 448.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3039, allocations: 0 / 448.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.304, allocations: 23.92 kB / 448.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.3042, allocations: 53.7 kB / 448.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3042, allocations: 4 kB / 448.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.3063, allocations: 2.72 MB / 451.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3063, allocations: 0 / 451.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.3068, allocations: 313.8 kB / 451.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.3068, allocations: 31.73 kB / 451.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.3069, allocations: 12.09 kB / 451.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3071, allocations: 7.984 kB / 451.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.3072, allocations: 31.95 kB / 451.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3072, allocations: 4 kB / 451.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.3074, allocations: 197.2 kB / 451.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3074, allocations: 0 / 451.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.3079, allocations: 99.83 kB / 451.9 MB, free: 0.8594 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.0008533/0.3087, allocations: 0.8542 MB / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3102, allocations: 0.5322 MB / 453.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3102, allocations: 0 / 453.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.3106, allocations: 317.4 kB / 453.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.311, allocations: 52.55 kB / 453.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.3279, allocations: 3.98 MB / 457.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.328, allocations: 154.8 kB / 457.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3282, allocations: 21.95 kB / 457.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3283, allocations: 91.39 kB / 457.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3283, allocations: 4 kB / 457.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/0.3724, allocations: 11.54 MB / 469.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.23, allocations: 5.625 kB / 469.5 MB, free: 15.29 MB / 382.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.42186771519482]