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.001374/0.001374, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001416/0.001416, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.607/1.607, allocations: 230.6 MB / 254.1 MB, free: 15.11 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 47.94 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1209, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004681/0.1256, allocations: 2.861 MB / 429.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1273, allocations: 0.8648 MB / 430.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.1276, allocations: 8 kB / 430.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1277, allocations: 47.56 kB / 430.6 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1281, allocations: 119.1 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1286, allocations: 203.6 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2196/0.3482, allocations: 472.9 kB / 431.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3485, allocations: 90.5 kB / 431.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.3489, allocations: 191.3 kB / 431.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.3493, allocations: 220 kB / 431.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.3493, allocations: 42.12 kB / 431.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3495, allocations: 51.83 kB / 432 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.3496, allocations: 93.31 kB / 432.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3497, allocations: 189.5 kB / 432.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.3503, allocations: 455.3 kB / 432.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3503, allocations: 2.094 kB / 432.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3503, allocations: 0 / 432.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3503, allocations: 0.5 kB / 432.7 MB, free: 8.062 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.00145/0.3518, allocations: 0.6929 MB / 433.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3518, allocations: 9.5 kB / 433.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.352, allocations: 51.22 kB / 433.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.3524, allocations: 308.5 kB / 433.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.3525, allocations: 47.22 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.3525, allocations: 23.27 kB / 433.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.353, allocations: 288.4 kB / 434.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.353, allocations: 0 / 434.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.353, allocations: 10.09 kB / 434.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.353, allocations: 5.5 kB / 434.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.3534, allocations: 165.8 kB / 434.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.3557, allocations: 1.04 MB / 435.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.356, allocations: 109.2 kB / 435.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3562, allocations: 76.62 kB / 435.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3562, allocations: 8.688 kB / 435.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3562, allocations: 42.31 kB / 435.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3563, allocations: 0 / 435.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001129/0.3574, allocations: 436.4 kB / 436 MB, free: 6.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3575, allocations: 157 kB / 436.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.3579, allocations: 269.2 kB / 436.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3579, allocations: 30.7 kB / 436.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.358, allocations: 185.5 kB / 436.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3581, allocations: 54.11 kB / 436.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3582, allocations: 50.33 kB / 436.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.3583, allocations: 338.3 kB / 437 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3585, allocations: 83.73 kB / 437.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3588, allocations: 132.8 kB / 437.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.3591, allocations: 169 kB / 437.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3592, allocations: 1.125 kB / 437.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008087/0.3672, allocations: 0.8842 MB / 438.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.3673, allocations: 9.062 kB / 438.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3673, allocations: 0.7031 kB / 438.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009586/0.3769, allocations: 0.8302 MB / 439.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.377, allocations: 16.7 kB / 439.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009651/0.3867, allocations: 4.895 MB / 444 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.3871, allocations: 29.33 kB / 444.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.3871, allocations: 7.375 kB / 444.1 MB, free: 1.609 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.0001762/0.3873, allocations: 147.7 kB / 444.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.3873, allocations: 23.64 kB / 444.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.3874, allocations: 26.52 kB / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3874, allocations: 2.125 kB / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3874, allocations: 1.125 kB / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3874, allocations: 0.7031 kB / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.3884, allocations: 0.618 MB / 444.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3884, allocations: 5.656 kB / 444.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3885, allocations: 19.61 kB / 444.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.3887, allocations: 50.56 kB / 445 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3887, allocations: 11.83 kB / 445 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.391, allocations: 2.931 MB / 447.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.391, allocations: 0 / 447.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.3917, allocations: 318.7 kB / 448.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3918, allocations: 106.2 kB / 448.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.3918, allocations: 10.94 kB / 448.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.392, allocations: 10.94 kB / 448.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3921, allocations: 32.67 kB / 448.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3921, allocations: 9.969 kB / 448.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.3924, allocations: 197.1 kB / 448.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3924, allocations: 0 / 448.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006741/0.3931, allocations: 95.98 kB / 448.7 MB, free: 13.54 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.0001953/0.3933, allocations: 101.5 kB / 448.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.3951, allocations: 0.5432 MB / 449.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3951, allocations: 0 / 449.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.3957, allocations: 311.1 kB / 449.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.3962, allocations: 43.77 kB / 449.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3979, allocations: 0.5398 MB / 450.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.3985, allocations: 0.7639 MB / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.3987, allocations: 18.27 kB / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.3988, allocations: 23.11 kB / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3988, allocations: 0 / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01882/0.4176, allocations: 7.292 MB / 458.3 MB, free: 9.562 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.327025514096022]