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.0008516/0.0008516, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004051/0.004051, allocations: 156.7 kB / 24.7 MB, free: 9.418 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.8471/0.8471, allocations: 177 MB / 204.9 MB, free: 5.746 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.312e-06/1.312e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.048e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002619/0.002639, allocations: 2.67 MB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003864, allocations: 0.8259 MB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.003984, allocations: 7.938 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.004107, allocations: 39.58 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.004379, allocations: 127 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.004716, allocations: 203.5 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.005071, allocations: 498.1 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.005229, allocations: 73.5 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.005536, allocations: 291.3 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.005736, allocations: 171.5 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.005778, allocations: 40 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.005841, allocations: 48 kB / 330.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.005892, allocations: 95.64 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.005981, allocations: 139.6 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.006379, allocations: 482.6 kB / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006381, allocations: 0 / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006382, allocations: 0 / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.006388, allocations: 0 / 331.5 MB, free: 9.641 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.0008826/0.007271, allocations: 0.6181 MB / 332.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007311, allocations: 15.98 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.007437, allocations: 52.62 kB / 332.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.00774, allocations: 248.7 kB / 332.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.007806, allocations: 72.47 kB / 332.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.007834, allocations: 24.38 kB / 332.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.008174, allocations: 410.3 kB / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.008182, allocations: 192 / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.008205, allocations: 24.11 kB / 332.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008211, allocations: 4 kB / 332.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.008416, allocations: 161.9 kB / 333.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.009612, allocations: 0.875 MB / 334 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.00982, allocations: 110.5 kB / 334.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.009934, allocations: 68.83 kB / 334.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.00995, allocations: 4 kB / 334.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.009968, allocations: 38.44 kB / 334.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.009969, allocations: 0 / 334.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005406/0.01051, allocations: 306.7 kB / 334.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.01056, allocations: 158.2 kB / 334.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01076, allocations: 265.9 kB / 334.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01078, allocations: 29.7 kB / 334.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.01087, allocations: 180.3 kB / 335.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.0109, allocations: 55.53 kB / 335.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.01096, allocations: 49.67 kB / 335.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.01104, allocations: 334.8 kB / 335.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.0112, allocations: 83.97 kB / 335.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.01138, allocations: 235.9 kB / 335.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.01158, allocations: 168.7 kB / 336 MB, free: 4.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01159, allocations: 4 kB / 336 MB, free: 4.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003117/0.0147, allocations: 0.8848 MB / 336.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01472, allocations: 4 kB / 336.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01472, allocations: 0 / 336.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/0.01838, allocations: 0.8326 MB / 337.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.01844, allocations: 15.98 kB / 337.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.02335, allocations: 4.562 MB / 342.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.02348, allocations: 23.92 kB / 342.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.02349, allocations: 7.984 kB / 342.3 MB, free: 14.23 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.000108/0.0236, allocations: 137.8 kB / 342.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.02363, allocations: 27.81 kB / 342.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.02366, allocations: 29.7 kB / 342.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.02366, allocations: 4 kB / 342.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02367, allocations: 0 / 342.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.02367, allocations: 0 / 342.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.02419, allocations: 0.5161 MB / 343.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02419, allocations: 0 / 343.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.02425, allocations: 27.97 kB / 343.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.876e-05/0.02435, allocations: 53.72 kB / 343.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.02436, allocations: 7.984 kB / 343.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.0255, allocations: 2.667 MB / 345.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0255, allocations: 3.938 kB / 345.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.02578, allocations: 305.8 kB / 346.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.02581, allocations: 27.78 kB / 346.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.02583, allocations: 4 kB / 346.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.02592, allocations: 20.08 kB / 346.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.02597, allocations: 15.97 kB / 346.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.02598, allocations: 4 kB / 346.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.02611, allocations: 197.2 kB / 346.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02611, allocations: 0 / 346.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.02646, allocations: 96.03 kB / 346.5 MB, free: 9.816 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 9.869e-05/0.02656, allocations: 103.2 kB / 346.6 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007701/0.02733, allocations: 0.5508 MB / 347.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02733, allocations: 0 / 347.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.02753, allocations: 309.2 kB / 347.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.0278, allocations: 55.97 kB / 347.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.02842, allocations: 0.5259 MB / 348 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.424e-05/0.02852, allocations: 150.9 kB / 348.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.02857, allocations: 24.48 kB / 348.2 MB, free: 7.996 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02857, allocations: 4 kB / 348.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of Templates: time 0.005358/0.03393, allocations: 6.386 MB / 354.6 MB, free: 1.605 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] 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: 4.786372140981257]