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.001422/0.001422, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.001567/0.001567, allocations: 159 kB / 23.95 MB, free: 4.168 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.524/1.524, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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 2.214e-06/2.214e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.504e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005211/0.005246, allocations: 2.672 MB / 327.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.007587, allocations: 0.8195 MB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.007784, allocations: 3.781 kB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.008001, allocations: 45.67 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.008477, allocations: 133.2 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.009171, allocations: 210.5 kB / 328.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.009972, allocations: 494.5 kB / 329.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.01023, allocations: 83.03 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.0108, allocations: 287.5 kB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.01117, allocations: 178.2 kB / 329.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.01125, allocations: 43.28 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.01137, allocations: 46.33 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.0115, allocations: 92.53 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.01171, allocations: 136.5 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.01243, allocations: 484.5 kB / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.01244, allocations: 1.219 kB / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01244, allocations: 0 / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01244, allocations: 0 / 330.7 MB, free: 12.91 MB / 302.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.001783/0.01423, allocations: 0.6177 MB / 331.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.01428, allocations: 13.55 kB / 331.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.01456, allocations: 48.88 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.01513, allocations: 245.2 kB / 331.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.01527, allocations: 76.88 kB / 331.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.01532, allocations: 22.5 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.016, allocations: 409.5 kB / 332.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01602, allocations: 192 / 332.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.01605, allocations: 18.94 kB / 332.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01607, allocations: 5.719 kB / 332.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.01646, allocations: 162.5 kB / 332.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.01891, allocations: 0.8861 MB / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.01926, allocations: 107.4 kB / 333.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.01948, allocations: 71.48 kB / 333.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.0195, allocations: 2.094 kB / 333.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.01953, allocations: 40.88 kB / 333.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.01953, allocations: 0 / 333.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00108/0.02061, allocations: 293.5 kB / 333.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.02078, allocations: 160.4 kB / 333.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.02119, allocations: 271.3 kB / 334.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.02125, allocations: 31.23 kB / 334.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.02144, allocations: 180.5 kB / 334.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.0215, allocations: 48.91 kB / 334.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02163, allocations: 51.02 kB / 334.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.02184, allocations: 335.7 kB / 334.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.02205, allocations: 85.2 kB / 334.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.02237, allocations: 239.2 kB / 335.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.02275, allocations: 165.1 kB / 335.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02275, allocations: 0 / 335.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00824/0.03099, allocations: 0.8847 MB / 336.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.03102, allocations: 5.312 kB / 336.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.03103, allocations: 1.344 kB / 336.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0099/0.04093, allocations: 0.823 MB / 337 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.04109, allocations: 21.62 kB / 337 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.05112, allocations: 4.567 MB / 341.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.05148, allocations: 19.88 kB / 341.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.05151, allocations: 11.98 kB / 341.6 MB, free: 3.973 MB / 302.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.0002246/0.05174, allocations: 130.5 kB / 341.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.0518, allocations: 31.81 kB / 341.7 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.05185, allocations: 29.7 kB / 341.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.05185, allocations: 0 / 341.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.05186, allocations: 4.062 kB / 341.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.05186, allocations: 0 / 341.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.05284, allocations: 0.5121 MB / 342.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.05285, allocations: 4 kB / 342.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.05298, allocations: 15.98 kB / 342.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.05319, allocations: 61.78 kB / 342.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.05321, allocations: 8 kB / 342.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.05559, allocations: 2.675 MB / 345 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.05559, allocations: 3.938 kB / 345 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.05621, allocations: 305.9 kB / 345.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.05628, allocations: 35.8 kB / 345.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.05632, allocations: 8.094 kB / 345.4 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.05654, allocations: 11.98 kB / 345.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.05664, allocations: 31.95 kB / 345.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.05665, allocations: 4 kB / 345.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.0569, allocations: 197.2 kB / 345.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0569, allocations: 0 / 345.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.05752, allocations: 103.8 kB / 345.7 MB, free: 15.52 MB / 318.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.0001556/0.05767, allocations: 103.2 kB / 345.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.05941, allocations: 0.536 MB / 346.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.05941, allocations: 0 / 346.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.05992, allocations: 317.4 kB / 346.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.06041, allocations: 56.09 kB / 346.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.06156, allocations: 497.8 kB / 347.2 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.06173, allocations: 150.9 kB / 347.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.06186, allocations: 25.92 kB / 347.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.06194, allocations: 28.48 kB / 347.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.06194, allocations: 4 kB / 347.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01583/0.07777, allocations: 8.136 MB / 355.6 MB, free: 5.625 MB / 318.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.110258109867573]