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.0007787/0.0007787, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.002981/0.002981, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8339/0.8339, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.01e-05, allocations: 6.219 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00411/0.00414, allocations: 2.683 MB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.00557, allocations: 0.8219 MB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.005683, allocations: 4 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.005799, allocations: 43.58 kB / 329.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.006047, allocations: 135 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.006351, allocations: 203.5 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.006691, allocations: 0.4903 MB / 330.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.006858, allocations: 73.5 kB / 330.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.007145, allocations: 279.4 kB / 330.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.007348, allocations: 179.5 kB / 330.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.007396, allocations: 44 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.845e-05/0.007464, allocations: 48 kB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.007514, allocations: 91.66 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.007627, allocations: 139.6 kB / 331.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.008026, allocations: 482.6 kB / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.008029, allocations: 0 / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.00803, allocations: 0 / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.008036, allocations: 0 / 331.5 MB, free: 9.703 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.0009231/0.008959, allocations: 0.6181 MB / 332.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.008995, allocations: 8.031 kB / 332.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.009127, allocations: 52.62 kB / 332.2 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.009446, allocations: 248.6 kB / 332.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.009675, allocations: 76.45 kB / 332.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.009702, allocations: 20.38 kB / 332.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.01004, allocations: 406.4 kB / 333 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.01005, allocations: 4.188 kB / 333 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.01007, allocations: 16.12 kB / 333 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01008, allocations: 4 kB / 333 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.0103, allocations: 161.9 kB / 333.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01159, allocations: 0.8905 MB / 334 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.01182, allocations: 106.5 kB / 334.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.01194, allocations: 76.81 kB / 334.2 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.01195, allocations: 0 / 334.2 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.01197, allocations: 38.56 kB / 334.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.01198, allocations: 4 kB / 334.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000585/0.01256, allocations: 291 kB / 334.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.01262, allocations: 162.2 kB / 334.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.01282, allocations: 265.9 kB / 335 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01284, allocations: 33.7 kB / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.01306, allocations: 180.3 kB / 335.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.01309, allocations: 47.53 kB / 335.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01315, allocations: 45.69 kB / 335.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.01323, allocations: 342.8 kB / 335.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01334, allocations: 83.95 kB / 335.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01351, allocations: 231.9 kB / 335.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01371, allocations: 169.6 kB / 336.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01372, allocations: 0 / 336.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003111/0.01683, allocations: 0.8809 MB / 336.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01684, allocations: 8 kB / 336.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01685, allocations: 3.984 kB / 337 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.02052, allocations: 0.8248 MB / 337.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.02058, allocations: 27.92 kB / 337.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/0.0256, allocations: 4.562 MB / 342.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.02573, allocations: 19.91 kB / 342.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.02574, allocations: 8 kB / 342.4 MB, free: 14.3 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.0001074/0.02585, allocations: 137.8 kB / 342.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.02588, allocations: 27.81 kB / 342.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.0259, allocations: 29.72 kB / 342.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.02591, allocations: 0 / 342.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02591, allocations: 7.984 kB / 342.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.02592, allocations: 4.062 kB / 342.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.02643, allocations: 0.5082 MB / 343.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02643, allocations: 0 / 343.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.02649, allocations: 19.98 kB / 343.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.552e-05/0.02658, allocations: 53.7 kB / 343.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.0266, allocations: 4 kB / 343.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.02798, allocations: 2.678 MB / 345.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02798, allocations: 3.938 kB / 345.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.02826, allocations: 305.8 kB / 346.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.02829, allocations: 23.8 kB / 346.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.0283, allocations: 4 kB / 346.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.0284, allocations: 20.08 kB / 346.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.02845, allocations: 16.16 kB / 346.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.02846, allocations: 7.984 kB / 346.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.02858, allocations: 197.1 kB / 346.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02858, allocations: 0 / 346.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.02889, allocations: 103.8 kB / 346.5 MB, free: 9.879 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 0.0001139/0.02901, allocations: 107.2 kB / 346.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007742/0.02978, allocations: 0.5435 MB / 347.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.02979, allocations: 0 / 347.2 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.03, allocations: 309.2 kB / 347.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.03028, allocations: 52.69 kB / 347.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.03091, allocations: 0.5169 MB / 348 MB, free: 8.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.031, allocations: 154.8 kB / 348.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.03106, allocations: 32.48 kB / 348.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03106, allocations: 0 / 348.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of Templates: time 0.005533/0.03659, allocations: 6.382 MB / 354.6 MB, free: 1.688 MB / 314.7 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: 4.704620626755059]