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.0008652/0.0008652, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001012/0.001012, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8916/0.8916, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 324.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.756e-05, allocations: 4.953 kB / 324.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002995/0.003023, allocations: 2.665 MB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004301, allocations: 0.8297 MB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.004446, allocations: 4 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.004584, allocations: 47.56 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.004865, allocations: 127 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.005195, allocations: 207.5 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.005534, allocations: 494.1 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.005706, allocations: 74.12 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.006009, allocations: 287.3 kB / 329.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.006204, allocations: 171.5 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.006247, allocations: 40 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.006319, allocations: 52 kB / 329.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.006371, allocations: 99.58 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.006458, allocations: 135.7 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.006851, allocations: 486.5 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.006856, allocations: 3.938 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006857, allocations: 0 / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006863, allocations: 0 / 330.2 MB, free: 10.02 MB / 298.7 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.0009148/0.007777, allocations: 0.6142 MB / 330.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.007819, allocations: 19.98 kB / 330.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.007869, allocations: 58.73 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.007994, allocations: 48.69 kB / 331 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.008482, allocations: 240.8 kB / 331.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.00855, allocations: 72.47 kB / 331.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.008584, allocations: 24.31 kB / 331.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.008922, allocations: 406.4 kB / 331.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.008932, allocations: 192 / 331.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.008953, allocations: 15.94 kB / 331.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.008959, allocations: 8 kB / 331.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.009167, allocations: 165.9 kB / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.01041, allocations: 0.9174 MB / 332.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.01063, allocations: 106.5 kB / 332.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.01076, allocations: 76.77 kB / 333 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.01078, allocations: 0 / 333 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.0108, allocations: 50.42 kB / 333 MB, free: 7.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/0.0108, allocations: 3.984 kB / 333 MB, free: 7.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005359/0.01134, allocations: 291.3 kB / 333.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.01139, allocations: 154.2 kB / 333.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.01161, allocations: 285.8 kB / 333.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01163, allocations: 29.64 kB / 333.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.01172, allocations: 176.3 kB / 333.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.01175, allocations: 55.58 kB / 334 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.01181, allocations: 45.69 kB / 334 MB, free: 5.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.01189, allocations: 338.8 kB / 334.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.01201, allocations: 87.95 kB / 334.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.01221, allocations: 227.9 kB / 334.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.01245, allocations: 180.8 kB / 334.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01245, allocations: 0 / 334.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003261/0.01571, allocations: 0.8771 MB / 335.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.01574, allocations: 4 kB / 335.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.01576, allocations: 0 / 335.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003843/0.0196, allocations: 0.8326 MB / 336.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.01968, allocations: 15.98 kB / 336.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.02509, allocations: 4.598 MB / 341.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.02529, allocations: 31.92 kB / 341.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.02531, allocations: 7.984 kB / 341.2 MB, free: 14.43 MB / 314.7 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.000184/0.02549, allocations: 145.7 kB / 341.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.02554, allocations: 23.86 kB / 341.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.02557, allocations: 25.77 kB / 341.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.02557, allocations: 0 / 341.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.02558, allocations: 4 kB / 341.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02558, allocations: 0 / 341.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.02618, allocations: 0.5584 MB / 342 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02619, allocations: 0 / 342 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.02625, allocations: 23.97 kB / 342 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.02638, allocations: 53.66 kB / 342.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.02639, allocations: 7.984 kB / 342.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.02766, allocations: 2.713 MB / 344.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.02766, allocations: 0 / 344.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.02795, allocations: 305.8 kB / 345.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.02799, allocations: 27.81 kB / 345.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.02801, allocations: 8 kB / 345.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.0281, allocations: 15.86 kB / 345.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.02817, allocations: 36.02 kB / 345.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.02818, allocations: 7.984 kB / 345.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003797/0.02856, allocations: 197.2 kB / 345.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02856, allocations: 0 / 345.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.02894, allocations: 100 kB / 345.5 MB, free: 9.867 MB / 314.7 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.000535/0.02947, allocations: 0.8505 MB / 346.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008897/0.03036, allocations: 0.5437 MB / 346.9 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.03037, allocations: 4 kB / 346.9 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.03059, allocations: 313.4 kB / 347.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.0309, allocations: 43.73 kB / 347.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008263/0.03917, allocations: 3.956 MB / 351.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.03933, allocations: 154.8 kB / 351.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.03947, allocations: 21.95 kB / 351.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.0396, allocations: 96.45 kB / 351.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of SimCode: time 2.003e-06/0.03961, allocations: 0 / 351.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.06733, allocations: 11.61 MB / 363 MB, free: 8.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.152, allocations: 10.59 kB / 363 MB, free: 8.199 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --stepSize=1e-06 --timeout=50 --tolerance=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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.150327872484922]