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.001126/0.001126, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001704/0.00283, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0011/0.0011, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002576, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9685/0.9685, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.066, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.145e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002922/0.002943, allocations: 2.87 MB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.004323, allocations: 0.8643 MB / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.004463, allocations: 0 / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.004557, allocations: 47.56 kB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.004788, allocations: 123 kB / 249 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.00512, allocations: 207.5 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.005492, allocations: 498.1 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.005644, allocations: 79.44 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.006021, allocations: 321.5 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.006237, allocations: 175.4 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.006284, allocations: 40 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.006377, allocations: 59.94 kB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.006423, allocations: 63.81 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.006511, allocations: 107.8 kB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.006786, allocations: 263.2 kB / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.006802, allocations: 0 / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006803, allocations: 0 / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.00682, allocations: 4 kB / 250.7 MB, free: 7.902 MB / 250.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.0008984/0.007719, allocations: 0.667 MB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.007759, allocations: 8.625 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.007946, allocations: 134 kB / 251.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.008225, allocations: 213.5 kB / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.008294, allocations: 72.47 kB / 251.8 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.008321, allocations: 20.38 kB / 251.8 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.008592, allocations: 346.3 kB / 252.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.008601, allocations: 192 / 252.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.00862, allocations: 16.12 kB / 252.2 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.008626, allocations: 4 kB / 252.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.008706, allocations: 51.47 kB / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.009731, allocations: 0.6918 MB / 252.9 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.009885, allocations: 74.55 kB / 253 MB, free: 5.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.009956, allocations: 48.83 kB / 253.1 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.009972, allocations: 4 kB / 253.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.009996, allocations: 30.56 kB / 253.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.009998, allocations: 0 / 253.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004002/0.0104, allocations: 183.4 kB / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01043, allocations: 51.41 kB / 253.3 MB, free: 5.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01058, allocations: 241 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.0106, allocations: 29.7 kB / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.01067, allocations: 168.7 kB / 253.7 MB, free: 4.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.0107, allocations: 47.56 kB / 253.8 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.01076, allocations: 45.67 kB / 253.8 MB, free: 4.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.01084, allocations: 334.8 kB / 254.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.01089, allocations: 27.92 kB / 254.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.01098, allocations: 179.9 kB / 254.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.01107, allocations: 76.92 kB / 254.4 MB, free: 3.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01107, allocations: 0 / 254.4 MB, free: 3.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002511/0.01359, allocations: 0.7208 MB / 255.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01361, allocations: 11.92 kB / 255.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01361, allocations: 0 / 255.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/0.0187, allocations: 1.445 MB / 256.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.01878, allocations: 23.97 kB / 256.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.02251, allocations: 3.504 MB / 260.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.02265, allocations: 23.88 kB / 260.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.02266, allocations: 4 kB / 260.2 MB, free: 13.96 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.000112/0.02277, allocations: 117.8 kB / 260.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.02281, allocations: 28 kB / 260.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.02284, allocations: 25.77 kB / 260.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02284, allocations: 4 kB / 260.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.02285, allocations: 0 / 260.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.02285, allocations: 0 / 260.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.02326, allocations: 368.9 kB / 260.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02326, allocations: 0 / 260.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.02332, allocations: 24.02 kB / 260.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.02335, allocations: 23.8 kB / 260.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/0.02348, allocations: 57.66 kB / 260.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.02349, allocations: 11.98 kB / 260.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.02453, allocations: 2.49 MB / 263.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.02453, allocations: 7.984 kB / 263.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.02471, allocations: 217.9 kB / 263.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.02474, allocations: 7.984 kB / 263.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.02482, allocations: 8 kB / 263.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.02487, allocations: 35.89 kB / 263.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.02488, allocations: 8.047 kB / 263.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.392e-05/0.02496, allocations: 90.75 kB / 263.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02496, allocations: 0 / 263.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.02528, allocations: 107.8 kB / 263.8 MB, free: 10.1 MB / 266.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.757e-05/0.02537, allocations: 76.42 kB / 263.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006245/0.026, allocations: 484.7 kB / 264.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.02601, allocations: 8 kB / 264.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.02619, allocations: 293.9 kB / 264.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.02643, allocations: 76.39 kB / 264.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.02826, allocations: 0.5344 MB / 265.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.02832, allocations: 84.56 kB / 265.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.0284, allocations: 25.94 kB / 265.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.02853, allocations: 107.3 kB / 265.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02853, allocations: 3.938 kB / 265.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of Templates: time 0.01019/0.03872, allocations: 9.032 MB / 274.5 MB, free: 15.32 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8716151686385274]