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.0009971/0.0009971, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001209/0.001209, allocations: 160.6 kB / 24.99 MB, free: 9.324 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.112e-06/1.112e-06, allocations: 0 / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.374e-05, allocations: 2.312 kB / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002766/0.00278, allocations: 2.842 MB / 275.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003889, allocations: 0.8336 MB / 276.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.004005, allocations: 4 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.004114, allocations: 43.52 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.004335, allocations: 131 kB / 276.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.004582, allocations: 203.6 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.004899, allocations: 0.4942 MB / 277.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005034, allocations: 81.52 kB / 277.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.005349, allocations: 279.3 kB / 278 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.005539, allocations: 175.5 kB / 278.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.005583, allocations: 40 kB / 278.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.005649, allocations: 52 kB / 278.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.005701, allocations: 95.64 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.005806, allocations: 131.7 kB / 278.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.006097, allocations: 314.9 kB / 278.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.006099, allocations: 0 / 278.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.006099, allocations: 0 / 278.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.006104, allocations: 7.938 kB / 278.8 MB, free: 12.08 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.0008313/0.006935, allocations: 0.7141 MB / 279.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.006966, allocations: 12.03 kB / 279.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.00711, allocations: 64.69 kB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.007369, allocations: 252.2 kB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.007432, allocations: 72.47 kB / 279.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.007464, allocations: 28.38 kB / 279.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.007864, allocations: 364.5 kB / 280.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007873, allocations: 192 / 280.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.007895, allocations: 20.12 kB / 280.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.007901, allocations: 4 kB / 280.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.008035, allocations: 78.94 kB / 280.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.009197, allocations: 0.9055 MB / 281.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.009359, allocations: 91.03 kB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.009447, allocations: 51.66 kB / 281.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.009461, allocations: 4 kB / 281.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.009483, allocations: 45.27 kB / 281.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.009484, allocations: 0 / 281.5 MB, free: 9.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004515/0.009936, allocations: 228.5 kB / 281.7 MB, free: 8.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.01009, allocations: 154.2 kB / 281.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.01029, allocations: 308.3 kB / 282.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01031, allocations: 29.7 kB / 282.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.01041, allocations: 227 kB / 282.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.01043, allocations: 47.58 kB / 282.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.0105, allocations: 59.34 kB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01061, allocations: 0.5078 MB / 283 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.01071, allocations: 43.97 kB / 283.1 MB, free: 7.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01087, allocations: 204.9 kB / 283.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.01101, allocations: 98.52 kB / 283.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01101, allocations: 0 / 283.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003265/0.01428, allocations: 0.7966 MB / 284.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01429, allocations: 8 kB / 284.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.0143, allocations: 4 kB / 284.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006413/0.02071, allocations: 1.455 MB / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.02077, allocations: 19.92 kB / 285.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.02543, allocations: 4.833 MB / 290.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.02555, allocations: 27.84 kB / 290.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.02557, allocations: 7.984 kB / 290.5 MB, free: 15.73 MB / 282.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.0001054/0.02567, allocations: 168.6 kB / 290.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.02571, allocations: 23.86 kB / 290.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.02574, allocations: 33.7 kB / 290.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.02574, allocations: 0 / 290.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.02574, allocations: 4 kB / 290.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02575, allocations: 0 / 290.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.02623, allocations: 0.5196 MB / 291.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.02623, allocations: 0 / 291.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.02629, allocations: 31.94 kB / 291.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.02643, allocations: 67.3 kB / 291.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.02644, allocations: 4 kB / 291.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.02791, allocations: 3.72 MB / 295.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02792, allocations: 8.125 kB / 295.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.02816, allocations: 322.7 kB / 295.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.02819, allocations: 27.78 kB / 295.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.02821, allocations: 4 kB / 295.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.0283, allocations: 11.98 kB / 295.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.02836, allocations: 31.95 kB / 295.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.02837, allocations: 4 kB / 295.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.02849, allocations: 221.1 kB / 295.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02849, allocations: 0 / 295.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003023/0.02879, allocations: 99.84 kB / 295.8 MB, free: 10.09 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.236e-05/0.02888, allocations: 111.2 kB / 295.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007399/0.02962, allocations: 0.5903 MB / 296.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02963, allocations: 0 / 296.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.02984, allocations: 419.1 kB / 296.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.0301, allocations: 56.33 kB / 296.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/0.0309, allocations: 0.5072 MB / 297.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.03094, allocations: 88.31 kB / 297.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.03101, allocations: 25.94 kB / 297.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.03106, allocations: 32.48 kB / 297.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03106, allocations: 0 / 297.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of Templates: time 0.09969/0.1307, allocations: 8.549 MB / 306.1 MB, free: 42.23 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: 3.1429976590443403]