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.001229/0.001229, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00135/0.00135, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.404/1.404, allocations: 230.6 MB / 257.5 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: "" <> 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.001549/0.001549, allocations: 47.88 kB / 377.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2483, allocations: 53.36 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004454/0.2528, allocations: 2.663 MB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2544, allocations: 0.8298 MB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2545, allocations: 4 kB / 434.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2547, allocations: 43.56 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.255, allocations: 127.1 kB / 434.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.2555, allocations: 195.6 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.256, allocations: 482.3 kB / 435.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.2562, allocations: 86.11 kB / 435.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.2565, allocations: 199.3 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.2568, allocations: 215.2 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.2568, allocations: 44 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.2569, allocations: 52 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.257, allocations: 91.67 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.2572, allocations: 167.3 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.2577, allocations: 456.1 kB / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2577, allocations: 0 / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2577, allocations: 0 / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2577, allocations: 3.938 kB / 436.7 MB, free: 0.9648 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.001428/0.2591, allocations: 0.618 MB / 437.3 MB, free: 324 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2592, allocations: 12.03 kB / 437.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.2592, allocations: 62.72 kB / 437.4 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2594, allocations: 44.7 kB / 437.4 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.2599, allocations: 241.5 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.793e-05/0.26, allocations: 84.27 kB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.26, allocations: 24.38 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.2606, allocations: 408.8 kB / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2606, allocations: 0 / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.2606, allocations: 16 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2607, allocations: 4 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.261, allocations: 161.6 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2632, allocations: 0.9241 MB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.2635, allocations: 113.5 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2637, allocations: 80.75 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2637, allocations: 0 / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2638, allocations: 38.56 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2638, allocations: 0 / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008896/0.2647, allocations: 283.3 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2648, allocations: 158.2 kB / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.2651, allocations: 277.8 kB / 440.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2651, allocations: 33.7 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2653, allocations: 176.3 kB / 440.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.2653, allocations: 51.52 kB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.2654, allocations: 53.67 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2656, allocations: 334.8 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2657, allocations: 79.97 kB / 440.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.266, allocations: 239.1 kB / 441.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2664, allocations: 173.6 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2664, allocations: 0 / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.006898/0.2733, allocations: 0.8841 MB / 442.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2733, allocations: 8 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2733, allocations: 0 / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008286/0.2816, allocations: 0.8288 MB / 443.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2817, allocations: 15.98 kB / 443.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008857/0.2906, allocations: 4.603 MB / 447.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2909, allocations: 35.89 kB / 447.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2909, allocations: 4 kB / 447.7 MB, free: 5.367 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.0002014/0.2911, allocations: 141.8 kB / 447.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.2911, allocations: 23.86 kB / 447.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2912, allocations: 25.78 kB / 447.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2912, allocations: 3.984 kB / 447.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2912, allocations: 0 / 447.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2912, allocations: 4 kB / 447.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.2922, allocations: 0.5622 MB / 448.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2922, allocations: 0 / 448.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.2923, allocations: 19.98 kB / 448.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.2925, allocations: 57.7 kB / 448.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.2925, allocations: 192 / 448.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.2947, allocations: 2.72 MB / 451.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2947, allocations: 3.938 kB / 451.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.2952, allocations: 313.2 kB / 451.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2953, allocations: 31.73 kB / 451.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2953, allocations: 4 kB / 451.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2955, allocations: 16.08 kB / 451.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.2956, allocations: 35.95 kB / 451.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2956, allocations: 7.938 kB / 451.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2959, allocations: 201.1 kB / 451.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2959, allocations: 0 / 451.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.2964, allocations: 99.83 kB / 452 MB, free: 0.793 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.0008588/0.2972, allocations: 0.8475 MB / 452.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.2987, allocations: 0.5283 MB / 453.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2987, allocations: 0 / 453.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.2991, allocations: 325.4 kB / 453.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2996, allocations: 40.47 kB / 453.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.316, allocations: 3.981 MB / 457.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3162, allocations: 154.8 kB / 457.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3163, allocations: 25.95 kB / 457.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.3165, allocations: 91.39 kB / 457.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3165, allocations: 0 / 457.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.3624, allocations: 11.61 MB / 469.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.15, allocations: 5.75 kB / 469.6 MB, free: 15.17 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.296295121021103]