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.001329/0.001329, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.004512/0.004512, allocations: 159.3 kB / 24.82 MB, free: 9.312 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 1.123/1.123, allocations: 177 MB / 205.1 MB, free: 5.484 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.635e-05, allocations: 5.266 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003246/0.003272, allocations: 2.818 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.00456, allocations: 0.8258 MB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.004729, allocations: 7.938 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.004888, allocations: 43.58 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.005192, allocations: 126.9 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.005533, allocations: 215.6 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.005907, allocations: 497.9 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.006094, allocations: 77.53 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.006457, allocations: 283.3 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.006681, allocations: 175.5 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.006726, allocations: 40 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.006798, allocations: 52 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.006851, allocations: 95.64 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.006939, allocations: 131.7 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.007225, allocations: 314.9 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007227, allocations: 4 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007228, allocations: 0 / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.007232, allocations: 0 / 279 MB, free: 11.5 MB / 266.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.0008923/0.008124, allocations: 0.7179 MB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.008181, allocations: 15.98 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.008363, allocations: 68.69 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.008653, allocations: 256.2 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.008726, allocations: 72.47 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.008757, allocations: 20.38 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.00906, allocations: 352.5 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.00907, allocations: 192 / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.00909, allocations: 12.12 kB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.009098, allocations: 8 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.009183, allocations: 59.39 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01035, allocations: 0.867 MB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.01051, allocations: 82.95 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.01059, allocations: 51.66 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.0106, allocations: 7.938 kB / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.01063, allocations: 37.39 kB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01063, allocations: 0 / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004418/0.01107, allocations: 208.9 kB / 281.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.01113, allocations: 162.2 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.0113, allocations: 296.2 kB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01133, allocations: 29.7 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01143, allocations: 231 kB / 282.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.01146, allocations: 51.56 kB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.01152, allocations: 59.31 kB / 282.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01167, allocations: 0.504 MB / 283.2 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.01174, allocations: 31.91 kB / 283.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.01189, allocations: 196.8 kB / 283.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01205, allocations: 90.72 kB / 283.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01206, allocations: 0 / 283.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003059/0.01512, allocations: 0.7653 MB / 284.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01513, allocations: 8 kB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01514, allocations: 0 / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006609/0.02174, allocations: 1.455 MB / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.02183, allocations: 23.98 kB / 285.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.02806, allocations: 4.742 MB / 290.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.02822, allocations: 31.77 kB / 290.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.02824, allocations: 7.984 kB / 290.5 MB, free: 15.41 MB / 282.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.000128/0.02837, allocations: 164.6 kB / 290.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.02843, allocations: 23.86 kB / 290.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.02846, allocations: 29.77 kB / 290.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.02846, allocations: 4.031 kB / 290.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.02847, allocations: 0 / 290.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02847, allocations: 3.938 kB / 290.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.02909, allocations: 492.3 kB / 291.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02909, allocations: 3.938 kB / 291.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.02917, allocations: 15.98 kB / 291.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.02936, allocations: 75.38 kB / 291.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.02937, allocations: 0 / 291.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.03132, allocations: 3.683 MB / 295 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.03132, allocations: 0 / 295 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.03165, allocations: 318.8 kB / 295.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.0317, allocations: 31.78 kB / 295.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.03172, allocations: 0 / 295.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.03187, allocations: 12 kB / 295.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.03195, allocations: 43.81 kB / 295.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.03196, allocations: 0 / 295.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.03211, allocations: 205.1 kB / 295.6 MB, free: 10 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03211, allocations: 0 / 295.6 MB, free: 10 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005065/0.03261, allocations: 103.8 kB / 295.7 MB, free: 9.902 MB / 282.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.0001439/0.03276, allocations: 103.2 kB / 295.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.03381, allocations: 0.58 MB / 296.4 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.03382, allocations: 0 / 296.4 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.03418, allocations: 411.2 kB / 296.8 MB, free: 8.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.03458, allocations: 55.61 kB / 296.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.03544, allocations: 0.4914 MB / 297.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.382e-05/0.03551, allocations: 88.55 kB / 297.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.852e-05/0.03559, allocations: 29.94 kB / 297.4 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.03575, allocations: 126.2 kB / 297.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03575, allocations: 0 / 297.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of Templates: time 0.1314/0.1672, allocations: 8.998 MB / 306.5 MB, free: 39.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2266766848042607]