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.001389/0.001389, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001536/0.001536, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.001996/0.001996, allocations: 63.91 kB / 378.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2687, allocations: 53.4 MB / 431.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004666/0.2734, allocations: 2.649 MB / 434.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2753, allocations: 0.8219 MB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.2755, allocations: 4 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.2757, allocations: 47.52 kB / 435.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.2761, allocations: 127.1 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.2766, allocations: 199.6 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.2772, allocations: 482.3 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.2775, allocations: 86.05 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.2779, allocations: 199.3 kB / 436.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.2783, allocations: 195.2 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.236e-05/0.2784, allocations: 44 kB / 436.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2785, allocations: 48 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.2786, allocations: 91.72 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2788, allocations: 159.3 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.2793, allocations: 456.7 kB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2794, allocations: 0 / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2794, allocations: 0 / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.2794, allocations: 0 / 437.2 MB, free: 0.8945 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.001653/0.281, allocations: 0.6219 MB / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2811, allocations: 19.92 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.2813, allocations: 48.69 kB / 437.9 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.2818, allocations: 252.1 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.282, allocations: 72.39 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.282, allocations: 24.38 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.2826, allocations: 418.3 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2826, allocations: 0 / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2826, allocations: 8 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2826, allocations: 4 kB / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.283, allocations: 169.6 kB / 438.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2853, allocations: 0.8739 MB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.2856, allocations: 106.5 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2858, allocations: 72.81 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2858, allocations: 7.984 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2859, allocations: 30.56 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2859, allocations: 4 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009424/0.2868, allocations: 302.2 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2869, allocations: 158.2 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2873, allocations: 269.8 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2873, allocations: 29.7 kB / 440.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.2875, allocations: 176.3 kB / 440.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.2875, allocations: 55.53 kB / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.2876, allocations: 49.67 kB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2878, allocations: 326.8 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.288, allocations: 95.83 kB / 441.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.2883, allocations: 243.5 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.2887, allocations: 156.4 kB / 441.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2887, allocations: 4 kB / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007412/0.2961, allocations: 0.8848 MB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2961, allocations: 4 kB / 442.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2961, allocations: 3.984 kB / 442.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009015/0.3051, allocations: 0.8326 MB / 443.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3053, allocations: 19.97 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009283/0.3146, allocations: 4.568 MB / 448.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.3149, allocations: 27.91 kB / 448.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.3149, allocations: 7.984 kB / 448.1 MB, free: 5.473 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.0001961/0.3151, allocations: 137.9 kB / 448.2 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.3152, allocations: 23.86 kB / 448.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.3152, allocations: 25.77 kB / 448.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3153, allocations: 7.938 kB / 448.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3153, allocations: 4.062 kB / 448.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3153, allocations: 0 / 448.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/0.3162, allocations: 0.5044 MB / 448.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3162, allocations: 0 / 448.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.3163, allocations: 19.98 kB / 448.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.3165, allocations: 61.64 kB / 448.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3165, allocations: 4 kB / 448.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.3187, allocations: 2.686 MB / 451.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3187, allocations: 0 / 451.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.3192, allocations: 313.2 kB / 451.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.3193, allocations: 27.78 kB / 451.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3193, allocations: 8.094 kB / 451.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3195, allocations: 15.98 kB / 451.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.3196, allocations: 23.95 kB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3196, allocations: 8 kB / 452 MB, free: 1.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3198, allocations: 197.2 kB / 452.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 0 / 452.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.3203, allocations: 95.83 kB / 452.2 MB, free: 1.043 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.0001462/0.3204, allocations: 107.2 kB / 452.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.322, allocations: 0.5284 MB / 452.9 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.322, allocations: 3.938 kB / 452.9 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.3225, allocations: 325.2 kB / 453.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3229, allocations: 60.66 kB / 453.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.3239, allocations: 0.5187 MB / 453.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.3241, allocations: 150.9 kB / 453.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3242, allocations: 21.95 kB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.3243, allocations: 27.42 kB / 454 MB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3243, allocations: 4 kB / 454 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01397/0.3382, allocations: 8.527 MB / 462.5 MB, free: 6.707 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/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_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: 5.168599044904113]