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.001793/0.001793, allocations: 75.75 kB / 21.25 MB, free: 0.5352 MB / 14.72 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.002452/0.002452, allocations: 165.4 kB / 24.5 MB, free: 3.707 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002251/0.002251, allocations: 61.89 kB / 325.5 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1372, allocations: 53.39 MB / 378.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004688/0.1419, allocations: 2.666 MB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1439, allocations: 0.8259 MB / 382.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.1441, allocations: 4 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1443, allocations: 47.52 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1447, allocations: 127.1 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1452, allocations: 195.7 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1457, allocations: 482.3 kB / 383.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1459, allocations: 74.16 kB / 383.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.1462, allocations: 199.3 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.1466, allocations: 199.1 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.1467, allocations: 44 kB / 383.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1468, allocations: 44 kB / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1469, allocations: 95.72 kB / 383.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1471, allocations: 159.3 kB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.1476, allocations: 462.3 kB / 384.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1476, allocations: 0 / 384.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1476, allocations: 0 / 384.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1477, allocations: 0 / 384.5 MB, free: 9.805 MB / 350.1 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.001559/0.1492, allocations: 0.6181 MB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1493, allocations: 11.98 kB / 385.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1495, allocations: 44.7 kB / 385.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.1501, allocations: 257.4 kB / 385.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1502, allocations: 76.45 kB / 385.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1502, allocations: 20.38 kB / 385.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.1509, allocations: 414 kB / 385.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1509, allocations: 7.875 kB / 385.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1509, allocations: 8 kB / 386 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1509, allocations: 4 kB / 386 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.1513, allocations: 161.9 kB / 386.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.1536, allocations: 0.875 MB / 387 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1539, allocations: 118 kB / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1541, allocations: 80.77 kB / 387.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1542, allocations: 3.984 kB / 387.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1542, allocations: 38.5 kB / 387.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1542, allocations: 0 / 387.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009689/0.1552, allocations: 283.1 kB / 387.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1553, allocations: 154.2 kB / 387.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.1556, allocations: 261.9 kB / 387.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1557, allocations: 33.7 kB / 387.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1558, allocations: 188.2 kB / 388.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1559, allocations: 51.53 kB / 388.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.156, allocations: 49.69 kB / 388.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1562, allocations: 342.8 kB / 388.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1564, allocations: 83.95 kB / 388.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.1567, allocations: 239.9 kB / 388.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.157, allocations: 173 kB / 389 MB, free: 4.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.157, allocations: 0 / 389 MB, free: 4.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007552/0.1646, allocations: 0.881 MB / 389.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1646, allocations: 11.98 kB / 389.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1646, allocations: 3.938 kB / 389.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009093/0.1737, allocations: 0.8171 MB / 390.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1739, allocations: 23.92 kB / 390.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/0.1833, allocations: 4.552 MB / 395.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.1837, allocations: 27.86 kB / 395.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.1837, allocations: 4 kB / 395.4 MB, free: 14.4 MB / 366.1 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.0002441/0.184, allocations: 149.8 kB / 395.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.184, allocations: 31.73 kB / 395.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.1841, allocations: 21.78 kB / 395.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1841, allocations: 3.984 kB / 395.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1841, allocations: 4 kB / 395.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1841, allocations: 0 / 395.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1851, allocations: 0.5083 MB / 396.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1851, allocations: 0 / 396.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1853, allocations: 23.97 kB / 396.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.1855, allocations: 53.61 kB / 396.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1855, allocations: 4 kB / 396.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.1877, allocations: 2.675 MB / 398.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1877, allocations: 0 / 398.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.1882, allocations: 321.5 kB / 399.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1883, allocations: 27.8 kB / 399.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1883, allocations: 3.984 kB / 399.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1885, allocations: 12 kB / 399.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.1886, allocations: 31.89 kB / 399.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1886, allocations: 11.98 kB / 399.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.1888, allocations: 193.4 kB / 399.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1888, allocations: 0 / 399.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.1894, allocations: 107.8 kB / 399.5 MB, free: 9.953 MB / 366.1 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.1896, allocations: 103.2 kB / 399.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1911, allocations: 0.5322 MB / 400.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1911, allocations: 0 / 400.2 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.1915, allocations: 321.3 kB / 400.5 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.192, allocations: 50.44 kB / 400.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.193, allocations: 0.519 MB / 401 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1932, allocations: 158.8 kB / 401.2 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1933, allocations: 25.94 kB / 401.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.1934, allocations: 32.48 kB / 401.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1934, allocations: 0 / 401.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of Templates: time 0.01503/0.2084, allocations: 8.248 MB / 409.5 MB, free: 15.91 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins1/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: 5.154606244992465]