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.001854/0.001854, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002054/0.002054, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001972/0.001972, allocations: 72.12 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2612, allocations: 53.39 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004522/0.2657, allocations: 2.873 MB / 434.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2676, allocations: 0.8764 MB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.2677, allocations: 4 kB / 435 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2679, allocations: 39.58 kB / 435 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.2683, allocations: 123.1 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.2687, allocations: 207.5 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.2693, allocations: 486.3 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2695, allocations: 89.28 kB / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.2698, allocations: 195.4 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.2701, allocations: 211.2 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2702, allocations: 40 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.2703, allocations: 59.98 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.2704, allocations: 95.66 kB / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.2705, allocations: 191 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2711, allocations: 454.9 kB / 437.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2711, allocations: 0 / 437.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2711, allocations: 0 / 437.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2711, allocations: 0 / 437.1 MB, free: 0.9141 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.00154/0.2726, allocations: 0.6219 MB / 437.7 MB, free: 268 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2726, allocations: 8.031 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.2727, allocations: 58.73 kB / 437.8 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.2729, allocations: 48.69 kB / 437.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.2734, allocations: 237.5 kB / 438.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.2735, allocations: 76.39 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2735, allocations: 24.38 kB / 438.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.274, allocations: 284.3 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.274, allocations: 0 / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.274, allocations: 12 kB / 438.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.274, allocations: 4 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.2743, allocations: 157.7 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.2766, allocations: 1.018 MB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2769, allocations: 121.9 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2771, allocations: 68.83 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2771, allocations: 7.938 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.2772, allocations: 38.55 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.2772, allocations: 0 / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008859/0.2781, allocations: 279.3 kB / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.2781, allocations: 158.2 kB / 440.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.2785, allocations: 277.8 kB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.2785, allocations: 33.7 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2786, allocations: 180.3 kB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2787, allocations: 51.53 kB / 440.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.2788, allocations: 45.69 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2789, allocations: 334.8 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.2791, allocations: 87.95 kB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2793, allocations: 136.7 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.2796, allocations: 168.4 kB / 441.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2796, allocations: 0 / 441.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007683/0.2873, allocations: 0.8887 MB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2874, allocations: 10.48 kB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2874, allocations: 0 / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009276/0.2966, allocations: 0.8288 MB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2968, allocations: 15.98 kB / 443.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/0.3061, allocations: 4.7 MB / 448 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.3064, allocations: 27.83 kB / 448.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3065, allocations: 7.984 kB / 448.1 MB, free: 5.43 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.000178/0.3066, allocations: 137.8 kB / 448.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3067, allocations: 23.86 kB / 448.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.3067, allocations: 29.77 kB / 448.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3067, allocations: 4.156 kB / 448.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3068, allocations: 3.984 kB / 448.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3068, allocations: 4 kB / 448.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009315/0.3077, allocations: 0.5934 MB / 448.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3077, allocations: 4.031 kB / 448.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3078, allocations: 23.92 kB / 448.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.308, allocations: 49.67 kB / 448.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.308, allocations: 4 kB / 448.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.31, allocations: 2.728 MB / 451.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.31, allocations: 0 / 451.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.3105, allocations: 313.6 kB / 452 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.3106, allocations: 31.78 kB / 452 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3106, allocations: 4 kB / 452 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3108, allocations: 11.98 kB / 452 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.3109, allocations: 31.95 kB / 452 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3109, allocations: 7.984 kB / 452.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3112, allocations: 193.2 kB / 452.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3112, allocations: 0 / 452.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.3116, allocations: 103.8 kB / 452.3 MB, free: 0.8242 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.0008261/0.3125, allocations: 0.8514 MB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3139, allocations: 0.5244 MB / 453.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3139, allocations: 4 kB / 453.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.3144, allocations: 321.4 kB / 454 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3148, allocations: 56.58 kB / 454.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/0.337, allocations: 3.979 MB / 458.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.3376, allocations: 0.7635 MB / 458.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.3378, allocations: 25.94 kB / 458.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.338, allocations: 95.39 kB / 458.9 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.338, allocations: 0 / 458.9 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.3838, allocations: 9.956 MB / 468.9 MB, free: 164 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.19, allocations: 7.922 kB / 468.9 MB, free: 156 kB / 366.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.295774474998325]