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.001284/0.001284, allocations: 128.4 kB / 17.8 MB, free: 5.262 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.001612/0.001612, allocations: 214.5 kB / 20.75 MB, free: 2.309 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.517/1.517, allocations: 230.4 MB / 254 MB, free: 15.05 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.001934/0.001934, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 53.37 MB / 426.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005038/0.1193, allocations: 2.861 MB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.121, allocations: 0.8686 MB / 430.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1211, allocations: 4 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.1213, allocations: 39.58 kB / 430.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1216, allocations: 127.1 kB / 430.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.1221, allocations: 191.6 kB / 430.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1226, allocations: 490.3 kB / 430.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2588/0.3814, allocations: 80.47 kB / 431 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3825, allocations: 196.8 kB / 431.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008813/0.3834, allocations: 218.5 kB / 431.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.3837, allocations: 43.06 kB / 431.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.384, allocations: 45.06 kB / 431.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3842, allocations: 94.78 kB / 431.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.3848, allocations: 185.3 kB / 431.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.386, allocations: 457.8 kB / 432.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.386, allocations: 0.9375 kB / 432.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.386, allocations: 0 / 432.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.386, allocations: 0.8438 kB / 432.2 MB, free: 7.605 MB / 350.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.002482/0.3885, allocations: 0.6993 MB / 432.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.3886, allocations: 8.875 kB / 432.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3887, allocations: 56.41 kB / 433 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.389, allocations: 49.78 kB / 433 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.3897, allocations: 306.9 kB / 433.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.3898, allocations: 45.73 kB / 433.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.3899, allocations: 26 kB / 433.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.3905, allocations: 282.3 kB / 433.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3906, allocations: 0 / 433.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.3906, allocations: 12.69 kB / 433.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3906, allocations: 5.625 kB / 433.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.391, allocations: 162.8 kB / 433.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.3935, allocations: 1.048 MB / 434.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.3938, allocations: 109.9 kB / 435 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.394, allocations: 78.7 kB / 435.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.394, allocations: 3.438 kB / 435.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3941, allocations: 37.03 kB / 435.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.3941, allocations: 0 / 435.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009949/0.3951, allocations: 436.8 kB / 435.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.3951, allocations: 161.1 kB / 435.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.3955, allocations: 277.8 kB / 436 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.3955, allocations: 30.25 kB / 436 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3956, allocations: 176.8 kB / 436.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3957, allocations: 54.19 kB / 436.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3958, allocations: 49.5 kB / 436.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.3959, allocations: 334.7 kB / 436.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3961, allocations: 89.28 kB / 436.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3964, allocations: 131.1 kB / 436.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.3967, allocations: 172.3 kB / 437 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3967, allocations: 0 / 437 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007837/0.4046, allocations: 0.8861 MB / 437.9 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.4046, allocations: 9.312 kB / 437.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4046, allocations: 1.5 kB / 437.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009365/0.414, allocations: 0.8309 MB / 438.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.4141, allocations: 18.31 kB / 438.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00886/0.423, allocations: 4.897 MB / 443.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4234, allocations: 28.75 kB / 443.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.4234, allocations: 7.234 kB / 443.7 MB, free: 1.273 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.0001831/0.4236, allocations: 146.9 kB / 443.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.4237, allocations: 24.94 kB / 443.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.4237, allocations: 25.36 kB / 443.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4237, allocations: 2.156 kB / 443.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4237, allocations: 1.25 kB / 443.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4237, allocations: 0.75 kB / 443.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/0.4247, allocations: 0.6194 MB / 444.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4247, allocations: 1.219 kB / 444.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.4249, allocations: 23.38 kB / 444.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.425, allocations: 50.08 kB / 444.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.4251, allocations: 7.531 kB / 444.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.4274, allocations: 2.935 MB / 447.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4274, allocations: 1.5 kB / 447.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.428, allocations: 313.9 kB / 447.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4281, allocations: 102.2 kB / 447.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.4281, allocations: 11.45 kB / 447.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4284, allocations: 10.42 kB / 448 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.4285, allocations: 28.77 kB / 448 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.4285, allocations: 13.23 kB / 448 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.4287, allocations: 197.2 kB / 448.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4287, allocations: 0 / 448.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006219/0.4294, allocations: 96.58 kB / 448.3 MB, free: 13.21 MB / 366.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.0009348/0.4303, allocations: 0.8408 MB / 449.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.432, allocations: 0.548 MB / 449.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.432, allocations: 0 / 449.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.4325, allocations: 311.5 kB / 450 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.433, allocations: 64.45 kB / 450 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.452, allocations: 3.974 MB / 454 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.4525, allocations: 0.7568 MB / 454.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4527, allocations: 24.64 kB / 454.8 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.4529, allocations: 91.42 kB / 454.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.4529, allocations: 0 / 454.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/0.5036, allocations: 9.907 MB / 464.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.03, allocations: 6.938 kB / 464.8 MB, free: 5.027 MB / 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.21828234696295]