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.001786/0.001786, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002183/0.002183, allocations: 206 kB / 24.47 MB, free: 3.977 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001591/0.001591, allocations: 55.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2457, allocations: 53.36 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004206/0.2499, allocations: 2.657 MB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.2516, allocations: 0.8259 MB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2518, allocations: 4 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.2519, allocations: 47.5 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.2523, allocations: 119.1 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.2528, allocations: 203.6 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.2533, allocations: 490.3 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2535, allocations: 85.91 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.2538, allocations: 199.3 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.2541, allocations: 219.2 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.2542, allocations: 44 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2543, allocations: 44 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.2544, allocations: 99.66 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2546, allocations: 155.3 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.2551, allocations: 468.1 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2551, allocations: 0 / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2551, allocations: 0 / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2551, allocations: 0 / 438 MB, free: 1.102 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.001685/0.2568, allocations: 0.618 MB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2568, allocations: 8.031 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.257, allocations: 44.7 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.2575, allocations: 257.4 kB / 438.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.2576, allocations: 72.39 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2577, allocations: 20.38 kB / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.2583, allocations: 417 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2583, allocations: 0 / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.2583, allocations: 8 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2583, allocations: 4 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.2587, allocations: 161.7 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.2612, allocations: 0.8816 MB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2616, allocations: 110.5 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2618, allocations: 72.83 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2618, allocations: 0 / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2618, allocations: 42.48 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.2618, allocations: 0 / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001033/0.2629, allocations: 295.2 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.263, allocations: 154.2 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.2633, allocations: 265.8 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2634, allocations: 37.64 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2635, allocations: 180.3 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.2636, allocations: 55.52 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2637, allocations: 53.69 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2638, allocations: 334.8 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2641, allocations: 83.95 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.2644, allocations: 235.9 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.2647, allocations: 165.6 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2647, allocations: 0 / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009672/0.2744, allocations: 0.8798 MB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2744, allocations: 8 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2745, allocations: 7.922 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.2858, allocations: 0.8248 MB / 444.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.286, allocations: 23.98 kB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.2966, allocations: 4.565 MB / 448.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.297, allocations: 27.86 kB / 448.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.297, allocations: 4.078 kB / 448.8 MB, free: 5.703 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.0001884/0.2972, allocations: 145.9 kB / 449 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.2972, allocations: 27.8 kB / 449 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.2973, allocations: 21.78 kB / 449 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2973, allocations: 0 / 449 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.2973, allocations: 7.984 kB / 449 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2973, allocations: 0 / 449 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.2982, allocations: 0.5083 MB / 449.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2982, allocations: 0 / 449.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2983, allocations: 23.92 kB / 449.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.2985, allocations: 49.67 kB / 449.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2986, allocations: 4 kB / 449.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.3008, allocations: 2.69 MB / 452.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3008, allocations: 0 / 452.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.3014, allocations: 318 kB / 452.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.3014, allocations: 23.86 kB / 452.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3015, allocations: 0 / 452.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3017, allocations: 15.98 kB / 452.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.3018, allocations: 31.95 kB / 452.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3018, allocations: 7.984 kB / 452.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.3021, allocations: 197.2 kB / 452.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3021, allocations: 0 / 452.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.3026, allocations: 103.8 kB / 453 MB, free: 1.258 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.00014/0.3028, allocations: 107.2 kB / 453.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.3044, allocations: 0.5246 MB / 453.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3044, allocations: 0 / 453.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.3049, allocations: 329.3 kB / 453.9 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3054, allocations: 56.16 kB / 454 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3064, allocations: 0.509 MB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3065, allocations: 154.8 kB / 454.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3066, allocations: 25.95 kB / 454.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.3067, allocations: 27.42 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3067, allocations: 0 / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01511/0.3218, allocations: 8.594 MB / 463.3 MB, free: 6.887 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 -s gbode -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/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_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.841803660005098]