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.0008902/0.0008902, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001033/0.001033, allocations: 169.9 kB / 24.91 MB, free: 8.727 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.8956/0.8956, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.262e-06/1.262e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.787e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00286/0.002878, allocations: 2.811 MB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004171, allocations: 0.8645 MB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004288, allocations: 4 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.004412, allocations: 47.5 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.004681, allocations: 131 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.005021, allocations: 199.6 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.005403, allocations: 0.4903 MB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005539, allocations: 79.5 kB / 278.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.005885, allocations: 279.3 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.006112, allocations: 179.5 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.006159, allocations: 44 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.006229, allocations: 44 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.006284, allocations: 87.72 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.006378, allocations: 139.6 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.006658, allocations: 315 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.006661, allocations: 0 / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006662, allocations: 3.938 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006667, allocations: 0 / 279.2 MB, free: 11.55 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.0007914/0.007459, allocations: 0.5971 MB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.007489, allocations: 8.031 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.007626, allocations: 56.89 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.007873, allocations: 209.4 kB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.007935, allocations: 76.45 kB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.007963, allocations: 24.38 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.008207, allocations: 342.3 kB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.008214, allocations: 192 / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.00823, allocations: 12.12 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.008235, allocations: 4 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.00831, allocations: 51.47 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.009311, allocations: 0.6919 MB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.009442, allocations: 66.55 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.009505, allocations: 40.83 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.00952, allocations: 8 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.009544, allocations: 42.5 kB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.009545, allocations: 0 / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003755/0.009921, allocations: 175.2 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.009969, allocations: 158.2 kB / 281.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01015, allocations: 241 kB / 281.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01017, allocations: 29.7 kB / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.01024, allocations: 164.7 kB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.01027, allocations: 51.56 kB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.01033, allocations: 49.62 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.0104, allocations: 334.8 kB / 282.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.01044, allocations: 27.92 kB / 282.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.01059, allocations: 174.9 kB / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.01068, allocations: 80.53 kB / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01068, allocations: 0 / 282.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00264/0.01332, allocations: 0.7208 MB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01334, allocations: 4 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01335, allocations: 3.984 kB / 283.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005403/0.01875, allocations: 1.437 MB / 285 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.01881, allocations: 19.92 kB / 285 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.02256, allocations: 3.463 MB / 288.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.0227, allocations: 23.88 kB / 288.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.02271, allocations: 4.062 kB / 288.5 MB, free: 1.707 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.0001035/0.02281, allocations: 125.8 kB / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.02285, allocations: 31.91 kB / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.02287, allocations: 25.77 kB / 288.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.02287, allocations: 4 kB / 288.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.02288, allocations: 0 / 288.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.02288, allocations: 4.031 kB / 288.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.02326, allocations: 349.1 kB / 289 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.02326, allocations: 3.984 kB / 289 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.02332, allocations: 15.98 kB / 289 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.02345, allocations: 65.58 kB / 289.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.02346, allocations: 7.984 kB / 289.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/0.02444, allocations: 2.479 MB / 291.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02444, allocations: 3.938 kB / 291.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.02462, allocations: 225.9 kB / 291.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.02465, allocations: 23.92 kB / 291.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.02467, allocations: 11.98 kB / 291.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.02475, allocations: 4 kB / 291.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.0248, allocations: 35.95 kB / 291.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.02481, allocations: 7.984 kB / 291.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.02488, allocations: 86.78 kB / 292 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02488, allocations: 0 / 292 MB, free: 13.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000335/0.02522, allocations: 103.8 kB / 292.1 MB, free: 13.86 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.529e-05/0.02531, allocations: 80.42 kB / 292.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.02592, allocations: 479.5 kB / 292.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.02593, allocations: 0 / 292.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.02611, allocations: 297.9 kB / 292.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.02633, allocations: 65.48 kB / 293 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.02711, allocations: 0.5182 MB / 293.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.02716, allocations: 88.3 kB / 293.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.128e-05/0.02724, allocations: 25.95 kB / 293.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.02736, allocations: 107.3 kB / 293.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02737, allocations: 0 / 293.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of Templates: time 0.00991/0.03727, allocations: 8.86 MB / 302.6 MB, free: 3.305 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.7429990391246974]