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.001458/0.001458, allocations: 116 kB / 20.43 MB, free: 1.449 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.001819/0.001819, allocations: 214.8 kB / 23.74 MB, free: 4.66 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.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 0.001565/0.001565, allocations: 47.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2786, allocations: 53.36 MB / 431.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004374/0.283, allocations: 2.879 MB / 434.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2846, allocations: 0.8686 MB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2847, allocations: 4 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2849, allocations: 51.5 kB / 435.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.2852, allocations: 123.1 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.2856, allocations: 195.6 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.2861, allocations: 486.3 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.2864, allocations: 97.84 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.2866, allocations: 191.4 kB / 436.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.287, allocations: 219.1 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.287, allocations: 44 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.2871, allocations: 44 kB / 436.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.2872, allocations: 95.72 kB / 436.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2874, allocations: 187.1 kB / 437.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.288, allocations: 459.6 kB / 437.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.288, allocations: 0 / 437.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.288, allocations: 0 / 437.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.288, allocations: 8 kB / 437.6 MB, free: 1.004 MB / 334.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.001554/0.2895, allocations: 0.6141 MB / 438.2 MB, free: 368 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2896, allocations: 12.03 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.2898, allocations: 48.69 kB / 438.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.2905, allocations: 245.4 kB / 438.5 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2906, allocations: 76.41 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.2906, allocations: 20.38 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.2911, allocations: 280.5 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2911, allocations: 0 / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.2912, allocations: 8 kB / 438.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.2912, allocations: 8 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.2915, allocations: 165.6 kB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.2939, allocations: 1.006 MB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.2942, allocations: 114.5 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2944, allocations: 80.73 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2944, allocations: 4 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2944, allocations: 34.56 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2944, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009161/0.2954, allocations: 295.1 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.2955, allocations: 158.2 kB / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.2958, allocations: 281.7 kB / 441 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2958, allocations: 25.7 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2959, allocations: 176.3 kB / 441.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.296, allocations: 55.53 kB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2961, allocations: 45.69 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2963, allocations: 338.8 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2964, allocations: 87.95 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.2967, allocations: 125.1 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.297, allocations: 169.6 kB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.297, allocations: 0 / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007947/0.305, allocations: 0.8872 MB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.305, allocations: 11.94 kB / 442.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.305, allocations: 0 / 442.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00961/0.3146, allocations: 0.821 MB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3148, allocations: 23.92 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00931/0.3241, allocations: 4.697 MB / 448.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3244, allocations: 27.88 kB / 448.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3244, allocations: 11.98 kB / 448.4 MB, free: 5.582 MB / 350.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.0001774/0.3246, allocations: 137.8 kB / 448.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.3246, allocations: 23.86 kB / 448.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3247, allocations: 25.77 kB / 448.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3247, allocations: 4 kB / 448.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3247, allocations: 0 / 448.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3247, allocations: 3.938 kB / 448.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.3257, allocations: 0.5935 MB / 449.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3257, allocations: 0 / 449.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3258, allocations: 19.98 kB / 449.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.326, allocations: 53.7 kB / 449.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.326, allocations: 4 kB / 449.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.3282, allocations: 2.728 MB / 452 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3282, allocations: 4 kB / 452 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.3287, allocations: 317.8 kB / 452.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3287, allocations: 19.86 kB / 452.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3288, allocations: 7.938 kB / 452.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.329, allocations: 15.98 kB / 452.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.3291, allocations: 27.89 kB / 452.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3291, allocations: 15.98 kB / 452.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3293, allocations: 197.2 kB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3293, allocations: 0 / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.3298, allocations: 103.8 kB / 452.7 MB, free: 0.9727 MB / 350.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.0001272/0.3299, allocations: 99.25 kB / 452.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.3314, allocations: 0.5322 MB / 453.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3314, allocations: 0 / 453.4 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.332, allocations: 324.9 kB / 453.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3324, allocations: 49.27 kB / 453.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3335, allocations: 0.526 MB / 454.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.334, allocations: 0.7674 MB / 455 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3341, allocations: 21.95 kB / 455 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.3341, allocations: 27.42 kB / 455.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3341, allocations: 4 kB / 455.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01365/0.3478, allocations: 7.345 MB / 462.4 MB, free: 7.184 MB / 366.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.97802370111458]