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.001778/0.001778, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002254/0.002254, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.507/1.507, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001686/0.001686, allocations: 47.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2785, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004197/0.2827, allocations: 2.657 MB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2843, allocations: 0.822 MB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.2844, allocations: 4 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2846, allocations: 43.5 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.2849, allocations: 127.1 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2854, allocations: 199.6 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.2859, allocations: 490.3 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2861, allocations: 85.84 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.2864, allocations: 195.3 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2867, allocations: 191.2 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.2867, allocations: 40 kB / 437.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2868, allocations: 52 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2869, allocations: 91.72 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2871, allocations: 163.3 kB / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.2876, allocations: 456.1 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2876, allocations: 4 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2876, allocations: 0 / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2876, allocations: 0 / 437.9 MB, free: 1.141 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.001497/0.2891, allocations: 0.6207 MB / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2892, allocations: 12.03 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.2894, allocations: 48.69 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.2899, allocations: 249.4 kB / 438.9 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.29, allocations: 72.41 kB / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.29, allocations: 28.31 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.2906, allocations: 416.9 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2906, allocations: 4 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2906, allocations: 8 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2906, allocations: 15.98 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.291, allocations: 157.7 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.2932, allocations: 0.8856 MB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2935, allocations: 102.5 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.2937, allocations: 68.83 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2937, allocations: 4 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2938, allocations: 38.5 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.2938, allocations: 4 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009584/0.2947, allocations: 286.5 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.2948, allocations: 158.2 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.2952, allocations: 269.8 kB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.2952, allocations: 33.7 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2953, allocations: 176.3 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.2954, allocations: 51.53 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.2955, allocations: 49.67 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2956, allocations: 338.8 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.2958, allocations: 87.91 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2961, allocations: 231.9 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2965, allocations: 173.6 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2965, allocations: 0 / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007642/0.3041, allocations: 0.8798 MB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3041, allocations: 4 kB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3041, allocations: 7.922 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00926/0.3134, allocations: 0.8326 MB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3135, allocations: 15.98 kB / 444.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/0.3225, allocations: 4.553 MB / 448.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.3229, allocations: 35.92 kB / 448.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3229, allocations: 7.938 kB / 448.8 MB, free: 5.73 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.0001805/0.3231, allocations: 137.9 kB / 448.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.3231, allocations: 31.78 kB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.3232, allocations: 21.78 kB / 449 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3232, allocations: 4 kB / 449 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3232, allocations: 0 / 449 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3232, allocations: 3.984 kB / 449 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.324, allocations: 0.5083 MB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.324, allocations: 0 / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3242, allocations: 19.98 kB / 449.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.3244, allocations: 53.66 kB / 449.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3244, allocations: 15.98 kB / 449.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.3265, allocations: 2.674 MB / 452.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3265, allocations: 8.281 kB / 452.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.3271, allocations: 309.8 kB / 452.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.3271, allocations: 23.78 kB / 452.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3272, allocations: 8 kB / 452.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.3273, allocations: 11.98 kB / 452.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.3274, allocations: 15.97 kB / 452.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3274, allocations: 8 kB / 452.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.3276, allocations: 197.2 kB / 452.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 452.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.3282, allocations: 103.8 kB / 452.9 MB, free: 1.305 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.0001374/0.3283, allocations: 107.2 kB / 453 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3298, allocations: 0.5283 MB / 453.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3298, allocations: 0 / 453.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.3302, allocations: 324.1 kB / 453.9 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.3307, allocations: 45.38 kB / 453.9 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3317, allocations: 0.558 MB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3318, allocations: 150.9 kB / 454.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3319, allocations: 27.42 kB / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3319, allocations: 0 / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Templates: time 0.009121/0.341, allocations: 6.392 MB / 461 MB, free: 9.086 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/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_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: 8.239099268335849]