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.001632/0.001632, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002047/0.002047, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.448/1.448, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00212/0.00212, allocations: 75.88 kB / 379 MB, free: 2.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2485, allocations: 53.4 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004342/0.2528, allocations: 2.653 MB / 435.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2545, allocations: 0.822 MB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.2546, allocations: 0 / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2548, allocations: 51.5 kB / 435.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.2551, allocations: 119.2 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.2556, allocations: 207.6 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.2561, allocations: 478.3 kB / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2563, allocations: 89.89 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.2566, allocations: 199.3 kB / 437 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.2569, allocations: 199 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.257, allocations: 40 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2571, allocations: 52 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.2572, allocations: 87.72 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2573, allocations: 163.3 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.2578, allocations: 456.1 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2578, allocations: 0 / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2578, allocations: 0 / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2578, allocations: 4 kB / 438 MB, free: 0.9453 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.001473/0.2593, allocations: 0.6219 MB / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2594, allocations: 15.98 kB / 438.6 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.2596, allocations: 48.69 kB / 438.7 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.2601, allocations: 249.4 kB / 438.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2602, allocations: 72.41 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.2602, allocations: 24.38 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.2608, allocations: 405 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2608, allocations: 4 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.2608, allocations: 15.94 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2609, allocations: 4 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.2612, allocations: 161.7 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.2635, allocations: 0.8779 MB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2638, allocations: 118.5 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.264, allocations: 68.83 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.264, allocations: 4 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2641, allocations: 34.5 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.2641, allocations: 4 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009671/0.265, allocations: 287.3 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.2652, allocations: 162.2 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.2655, allocations: 265.8 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2655, allocations: 29.7 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2657, allocations: 176.3 kB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.2657, allocations: 51.53 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2658, allocations: 53.67 kB / 441.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.266, allocations: 334.8 kB / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2662, allocations: 83.97 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.2665, allocations: 239.2 kB / 442.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2668, allocations: 176.4 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2668, allocations: 0 / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007385/0.2742, allocations: 0.8809 MB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.2742, allocations: 4 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2742, allocations: 3.938 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008945/0.2832, allocations: 0.8326 MB / 444.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2833, allocations: 19.92 kB / 444.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/0.2924, allocations: 4.571 MB / 448.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2927, allocations: 27.81 kB / 448.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2928, allocations: 11.98 kB / 448.9 MB, free: 5.531 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.0001828/0.2929, allocations: 137.9 kB / 449 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.293, allocations: 31.73 kB / 449 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.293, allocations: 25.77 kB / 449.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.293, allocations: 4 kB / 449.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2931, allocations: 4.062 kB / 449.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2931, allocations: 0 / 449.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.2939, allocations: 0.5044 MB / 449.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2939, allocations: 0 / 449.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2941, allocations: 23.97 kB / 449.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.2942, allocations: 53.72 kB / 449.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2943, allocations: 7.922 kB / 449.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.2964, allocations: 2.682 MB / 452.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2964, allocations: 0 / 452.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2969, allocations: 309.8 kB / 452.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.297, allocations: 23.84 kB / 452.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.297, allocations: 4.094 kB / 452.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2972, allocations: 19.98 kB / 452.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.2973, allocations: 15.91 kB / 452.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2973, allocations: 8 kB / 452.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.2975, allocations: 193.2 kB / 452.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2975, allocations: 0 / 452.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000571/0.2981, allocations: 103.8 kB / 453 MB, free: 1.109 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.0001591/0.2983, allocations: 107.2 kB / 453.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.2998, allocations: 0.5322 MB / 453.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2998, allocations: 0 / 453.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.3003, allocations: 313.2 kB / 453.9 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.3007, allocations: 60.14 kB / 454 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3018, allocations: 0.5553 MB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.302, allocations: 150.9 kB / 454.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3021, allocations: 31.41 kB / 454.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3021, allocations: 0 / 454.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Templates: time 0.009359/0.3114, allocations: 6.364 MB / 461.1 MB, free: 8.902 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.065310520119965]