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.001841/0.001841, allocations: 84.86 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001712/0.001712, allocations: 163 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.582e-06/1.582e-06, allocations: 0 / 325.1 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.361e-05, allocations: 2.281 kB / 325.1 MB, free: 372 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004298/0.004322, allocations: 2.67 MB / 327.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.006164, allocations: 0.8272 MB / 328.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.006311, allocations: 7.625 kB / 328.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.006466, allocations: 39.98 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.006833, allocations: 126.1 kB / 328.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.007315, allocations: 209.8 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.007914, allocations: 0.4888 MB / 329.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.008116, allocations: 77.64 kB / 329.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.008586, allocations: 286.5 kB / 329.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.008967, allocations: 167.6 kB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.009043, allocations: 42.81 kB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.009151, allocations: 45.95 kB / 330.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.009278, allocations: 97.44 kB / 330.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.009467, allocations: 139.4 kB / 330.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.01007, allocations: 486.3 kB / 330.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01007, allocations: 5.281 kB / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01007, allocations: 0 / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.01008, allocations: 0 / 330.8 MB, free: 12.82 MB / 302.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.00154/0.01162, allocations: 0.6144 MB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.01165, allocations: 9.062 kB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.01186, allocations: 52.25 kB / 331.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.01231, allocations: 246.7 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.01241, allocations: 72.48 kB / 331.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.01247, allocations: 26.31 kB / 331.8 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.01307, allocations: 413.8 kB / 332.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.01308, allocations: 192 / 332.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.01311, allocations: 10.31 kB / 332.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01313, allocations: 5.594 kB / 332.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.01349, allocations: 166.9 kB / 332.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.01577, allocations: 0.8777 MB / 333.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.01609, allocations: 112.2 kB / 333.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.0163, allocations: 77.44 kB / 333.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.01633, allocations: 1.812 kB / 333.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.01636, allocations: 33.28 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.01636, allocations: 3.938 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009897/0.01735, allocations: 286 kB / 333.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.0175, allocations: 167.8 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.01795, allocations: 262.3 kB / 334.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.01799, allocations: 32.33 kB / 334.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.01818, allocations: 180.1 kB / 334.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.01824, allocations: 61.83 kB / 334.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01835, allocations: 45.59 kB / 334.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.01856, allocations: 336.9 kB / 334.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.01878, allocations: 85.23 kB / 334.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.01912, allocations: 241.8 kB / 335.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.0195, allocations: 165.5 kB / 335.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01951, allocations: 0 / 335.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008132/0.02764, allocations: 0.8856 MB / 336.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.02766, allocations: 5.312 kB / 336.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02766, allocations: 0 / 336.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009988/0.03765, allocations: 0.8241 MB / 337 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.0378, allocations: 20.36 kB / 337 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.04811, allocations: 4.561 MB / 341.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.0485, allocations: 27.91 kB / 341.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.04853, allocations: 11.92 kB / 341.6 MB, free: 3.914 MB / 302.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.0002399/0.04877, allocations: 137.9 kB / 341.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.04885, allocations: 27.81 kB / 341.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.0489, allocations: 29.7 kB / 341.8 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0489, allocations: 4 kB / 341.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.04891, allocations: 0 / 341.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.04891, allocations: 0 / 341.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000971/0.04989, allocations: 0.513 MB / 342.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04989, allocations: 0 / 342.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.05002, allocations: 23.92 kB / 342.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.05021, allocations: 57.75 kB / 342.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.05023, allocations: 0 / 342.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.05262, allocations: 2.671 MB / 345.1 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.05263, allocations: 7.969 kB / 345.1 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.05324, allocations: 316.9 kB / 345.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.05329, allocations: 23.89 kB / 345.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.05333, allocations: 11.97 kB / 345.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.05355, allocations: 12 kB / 345.5 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.05364, allocations: 27.94 kB / 345.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.05366, allocations: 12.19 kB / 345.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.05391, allocations: 189.2 kB / 345.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05391, allocations: 7.938 kB / 345.7 MB, free: 15.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006915/0.0546, allocations: 99.84 kB / 345.8 MB, free: 15.47 MB / 318.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.0001812/0.05478, allocations: 107.2 kB / 345.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.0564, allocations: 0.5282 MB / 346.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.05641, allocations: 4 kB / 346.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.0569, allocations: 317.3 kB / 346.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.05738, allocations: 51.91 kB / 346.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.05841, allocations: 0.5007 MB / 347.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.05858, allocations: 150.9 kB / 347.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.05869, allocations: 25.94 kB / 347.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.05876, allocations: 28.48 kB / 347.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.05876, allocations: 4 kB / 347.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01462/0.07338, allocations: 8.137 MB / 355.6 MB, free: 5.562 MB / 318.1 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.9625289067626]