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.001547/0.001547, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001475/0.001475, allocations: 206.1 kB / 24.48 MB, free: 3.973 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.00158/0.00158, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2978, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004534/0.3024, allocations: 2.649 MB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3041, allocations: 0.8297 MB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3042, allocations: 4 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3044, allocations: 47.56 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.3047, allocations: 123.1 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3052, allocations: 199.6 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.3058, allocations: 486.3 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.306, allocations: 86.11 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.3063, allocations: 195.3 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.3067, allocations: 219.2 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-05/0.3068, allocations: 44 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3069, allocations: 44 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.307, allocations: 95.67 kB / 437.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3072, allocations: 163.3 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.3077, allocations: 457.1 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3077, allocations: 8 kB / 438 MB, free: 1.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3077, allocations: 0 / 438 MB, free: 1.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3077, allocations: 3.938 kB / 438 MB, free: 1.086 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.001621/0.3094, allocations: 0.6142 MB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3094, allocations: 8.031 kB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.3096, allocations: 48.69 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.3102, allocations: 253.4 kB / 438.9 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.3103, allocations: 76.41 kB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.3103, allocations: 20.38 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.311, allocations: 409 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.311, allocations: 0 / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.311, allocations: 12 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.311, allocations: 4 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.3114, allocations: 165.6 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.3138, allocations: 0.8779 MB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.3142, allocations: 110.5 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3144, allocations: 76.83 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3144, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3144, allocations: 42.5 kB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.3144, allocations: 0 / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000983/0.3154, allocations: 291.2 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3155, allocations: 154.2 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.3159, allocations: 269.8 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.3159, allocations: 33.7 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3161, allocations: 176.3 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.3161, allocations: 51.52 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3163, allocations: 57.61 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3164, allocations: 338.8 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3166, allocations: 83.97 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3169, allocations: 238.9 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3173, allocations: 172.3 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3173, allocations: 0 / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009281/0.3266, allocations: 0.881 MB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.3266, allocations: 8 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3266, allocations: 3.938 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.3377, allocations: 0.8288 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3378, allocations: 19.92 kB / 444.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.3484, allocations: 4.56 MB / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.3487, allocations: 27.86 kB / 448.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3488, allocations: 4 kB / 448.8 MB, free: 5.691 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.0002086/0.349, allocations: 137.8 kB / 449 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.349, allocations: 31.86 kB / 449 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.3491, allocations: 25.77 kB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3491, allocations: 0 / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3491, allocations: 4 kB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3491, allocations: 3.984 kB / 449 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.35, allocations: 0.5121 MB / 449.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.35, allocations: 32 / 449.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3502, allocations: 23.98 kB / 449.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.3504, allocations: 41.69 kB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3504, allocations: 11.98 kB / 449.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.3528, allocations: 2.686 MB / 452.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3528, allocations: 0 / 452.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.3534, allocations: 314 kB / 452.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3534, allocations: 23.84 kB / 452.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3535, allocations: 8 kB / 452.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3537, allocations: 7.984 kB / 452.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3537, allocations: 23.91 kB / 452.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3538, allocations: 4 kB / 452.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.354, allocations: 201.1 kB / 452.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 0 / 452.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.3546, allocations: 103.8 kB / 453 MB, free: 1.258 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.0001507/0.3547, allocations: 107.2 kB / 453.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3563, allocations: 0.5285 MB / 453.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3563, allocations: 0 / 453.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.3568, allocations: 325.2 kB / 453.9 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3572, allocations: 50.81 kB / 454 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3584, allocations: 0.5419 MB / 454.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.3585, allocations: 154.9 kB / 454.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.3586, allocations: 27.42 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3586, allocations: 0 / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.009737/0.3683, allocations: 6.374 MB / 461.1 MB, free: 9.055 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.128530632995535]