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.000967/0.000967, allocations: 72.33 kB / 22.21 MB, free: 2.301 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.0009232/0.0009232, allocations: 167.7 kB / 25.61 MB, free: 8.93 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.8974/0.8974, allocations: 177.1 MB / 206 MB, free: 4.5 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.272e-06/1.272e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.164e-05, allocations: 4.188 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002623/0.002635, allocations: 2.8 MB / 277 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003786, allocations: 0.8385 MB / 277.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.003901, allocations: 10.41 kB / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.004027, allocations: 39.58 kB / 277.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.004281, allocations: 134.9 kB / 278.1 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.004586, allocations: 203.6 kB / 278.3 MB, free: 372 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.004944, allocations: 498.1 kB / 278.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.005086, allocations: 73.53 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.005383, allocations: 291.3 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.00559, allocations: 167.5 kB / 279.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.005638, allocations: 44 kB / 279.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.005705, allocations: 44 kB / 279.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.00576, allocations: 99.7 kB / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.005851, allocations: 139.6 kB / 279.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.006139, allocations: 307 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006141, allocations: 0 / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006142, allocations: 0 / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.006146, allocations: 0 / 279.9 MB, free: 14.73 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.001296/0.007442, allocations: 0.7296 MB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007476, allocations: 8.031 kB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.007633, allocations: 68.69 kB / 280.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.007912, allocations: 252.2 kB / 280.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.007977, allocations: 76.45 kB / 281 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.008009, allocations: 24.38 kB / 281 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.008267, allocations: 344.5 kB / 281.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.008276, allocations: 192 / 281.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.008294, allocations: 16.06 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008301, allocations: 8 kB / 281.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.008385, allocations: 59.44 kB / 281.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.009514, allocations: 0.867 MB / 282.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.009649, allocations: 86.95 kB / 282.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.009717, allocations: 47.67 kB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.009731, allocations: 3.984 kB / 282.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.009754, allocations: 37.39 kB / 282.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.009755, allocations: 0 / 282.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004195/0.01017, allocations: 216.9 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.01023, allocations: 158.2 kB / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.01039, allocations: 296.2 kB / 283.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01042, allocations: 25.7 kB / 283.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.01052, allocations: 231 kB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.01054, allocations: 51.52 kB / 283.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.01061, allocations: 55.33 kB / 283.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01073, allocations: 0.504 MB / 284 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.01078, allocations: 31.91 kB / 284 MB, free: 10.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01091, allocations: 206.9 kB / 284.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.01102, allocations: 94.5 kB / 284.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01102, allocations: 0 / 284.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003196/0.01422, allocations: 0.7653 MB / 285.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01423, allocations: 4 kB / 285.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01424, allocations: 0 / 285.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006384/0.02062, allocations: 1.451 MB / 286.5 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.02068, allocations: 15.98 kB / 286.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.0253, allocations: 4.757 MB / 291.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.02543, allocations: 27.78 kB / 291.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.02544, allocations: 7.984 kB / 291.4 MB, free: 2.633 MB / 266.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.0001005/0.02554, allocations: 160.6 kB / 291.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.02558, allocations: 31.86 kB / 291.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.02561, allocations: 25.77 kB / 291.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.02561, allocations: 4 kB / 291.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.02561, allocations: 7.969 kB / 291.6 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02562, allocations: 3.938 kB / 291.6 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.02605, allocations: 479.5 kB / 292 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02605, allocations: 4 kB / 292.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.02611, allocations: 15.98 kB / 292.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.02624, allocations: 63.36 kB / 292.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.02625, allocations: 7.984 kB / 292.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.02782, allocations: 3.686 MB / 295.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.02782, allocations: 0 / 295.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.02805, allocations: 314.8 kB / 296.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.02808, allocations: 27.73 kB / 296.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.0281, allocations: 8 kB / 296.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.02819, allocations: 7.984 kB / 296.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.02824, allocations: 35.89 kB / 296.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.02825, allocations: 8 kB / 296.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.02835, allocations: 205.1 kB / 296.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02835, allocations: 3.938 kB / 296.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.02868, allocations: 103.8 kB / 296.5 MB, free: 13.14 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 9.154e-05/0.02877, allocations: 103.2 kB / 296.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.02944, allocations: 0.5761 MB / 297.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02945, allocations: 0 / 297.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.02965, allocations: 411.2 kB / 297.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.02992, allocations: 66.52 kB / 297.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.03063, allocations: 0.5026 MB / 298.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.263e-05/0.03068, allocations: 88.31 kB / 298.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.03075, allocations: 21.95 kB / 298.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.03089, allocations: 138.1 kB / 298.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.03089, allocations: 0 / 298.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of Templates: time 0.01059/0.04148, allocations: 9.167 MB / 307.6 MB, free: 2 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9329519430175424]