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.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00215/0.00215, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002058/0.002058, allocations: 63.91 kB / 377.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.238, allocations: 53.41 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004241/0.2422, allocations: 2.666 MB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2438, allocations: 0.8142 MB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2439, allocations: 7.938 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.2441, allocations: 47.52 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.2444, allocations: 123 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2449, allocations: 203.6 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.2454, allocations: 486.3 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.2456, allocations: 85.47 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.2458, allocations: 191.4 kB / 435.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.2462, allocations: 199.1 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.2462, allocations: 40 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2463, allocations: 51.94 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.2464, allocations: 91.72 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2466, allocations: 159.3 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.2471, allocations: 460.1 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2471, allocations: 0 / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2471, allocations: 0 / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2471, allocations: 0 / 436.7 MB, free: 0.8711 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.001443/0.2485, allocations: 0.6258 MB / 437.4 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2486, allocations: 11.98 kB / 437.4 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.2486, allocations: 54.73 kB / 437.4 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.2488, allocations: 52.62 kB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.2493, allocations: 245.5 kB / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/0.2494, allocations: 72.41 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.2494, allocations: 28.38 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.2499, allocations: 416.8 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.25, allocations: 0 / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.25, allocations: 4 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.25, allocations: 8 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.2504, allocations: 161.7 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.2526, allocations: 0.9279 MB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2529, allocations: 114.5 kB / 439.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2531, allocations: 68.83 kB / 439.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2531, allocations: 11.98 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2531, allocations: 30.56 kB / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.2531, allocations: 0 / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008929/0.254, allocations: 283.3 kB / 439.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.2541, allocations: 162.2 kB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2545, allocations: 273.8 kB / 440.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2545, allocations: 33.7 kB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.2546, allocations: 176.3 kB / 440.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.2547, allocations: 47.59 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.2548, allocations: 45.69 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2549, allocations: 338.8 kB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2551, allocations: 95.89 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.2554, allocations: 239.5 kB / 441.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.2557, allocations: 168.4 kB / 441.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2557, allocations: 0 / 441.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007466/0.2632, allocations: 0.8809 MB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2632, allocations: 8 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2632, allocations: 4 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008951/0.2722, allocations: 0.8209 MB / 443.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2723, allocations: 23.98 kB / 443.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00926/0.2816, allocations: 4.611 MB / 447.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.2819, allocations: 23.88 kB / 447.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.2819, allocations: 11.98 kB / 447.8 MB, free: 5.266 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.0001905/0.2821, allocations: 137.8 kB / 447.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.2822, allocations: 27.86 kB / 447.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.2822, allocations: 29.83 kB / 447.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2822, allocations: 4 kB / 447.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2822, allocations: 0 / 447.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2822, allocations: 96 / 447.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.2831, allocations: 0.5652 MB / 448.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2831, allocations: 3.984 kB / 448.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.2833, allocations: 24.02 kB / 448.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.2835, allocations: 49.62 kB / 448.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2835, allocations: 7.984 kB / 448.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.2855, allocations: 2.712 MB / 451.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2855, allocations: 96 / 451.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.286, allocations: 318 kB / 451.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.2861, allocations: 35.73 kB / 451.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2861, allocations: 4 kB / 451.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.2863, allocations: 12 kB / 451.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.2864, allocations: 31.94 kB / 451.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2864, allocations: 8 kB / 451.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.2866, allocations: 197.2 kB / 451.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2866, allocations: 0 / 451.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000506/0.2871, allocations: 99.83 kB / 452 MB, free: 0.6953 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.0008428/0.288, allocations: 0.8436 MB / 452.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.2894, allocations: 0.5322 MB / 453.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2894, allocations: 4.062 kB / 453.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.2899, allocations: 316.8 kB / 453.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.2903, allocations: 52.48 kB / 453.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.3079, allocations: 3.965 MB / 457.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3081, allocations: 158.8 kB / 457.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3082, allocations: 30 kB / 457.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.3084, allocations: 91.39 kB / 458 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3084, allocations: 0 / 458 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.3548, allocations: 11.55 MB / 469.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.3, allocations: 7.797 kB / 469.5 MB, free: 15.08 MB / 382.1 MB " [Timeout remaining time 647] (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/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_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: 16.501157682854682]