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.0009784/0.0009784, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001533/0.001533, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 1.914e-06/1.914e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.067e-05, allocations: 2.312 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003143/0.003174, allocations: 2.856 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004473, allocations: 0.8414 MB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.004592, allocations: 4 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.004729, allocations: 47.52 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.005015, allocations: 123 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.005338, allocations: 211.5 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.005685, allocations: 498 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.005868, allocations: 81.52 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.006175, allocations: 287.3 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.00639, allocations: 167.5 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.006439, allocations: 40 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.006517, allocations: 55.98 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.006574, allocations: 95.64 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.937e-05/0.006674, allocations: 139.6 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.006994, allocations: 307 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.006999, allocations: 3.984 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007001, allocations: 4 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.007008, allocations: 0 / 278.7 MB, free: 11.67 MB / 266.7 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.001144/0.008152, allocations: 0.7141 MB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.008191, allocations: 15.98 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.008351, allocations: 64.69 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.008653, allocations: 260.1 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.008736, allocations: 72.45 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.008771, allocations: 28.38 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.009088, allocations: 364.5 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.009096, allocations: 192 / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.009118, allocations: 16.12 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.009127, allocations: 4 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.009259, allocations: 78.89 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.01051, allocations: 0.9055 MB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.01073, allocations: 94.95 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01084, allocations: 51.66 kB / 281.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.01086, allocations: 4 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.01088, allocations: 37.39 kB / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.01089, allocations: 0 / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005028/0.01139, allocations: 220.7 kB / 281.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.01145, allocations: 158.2 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.01168, allocations: 308.3 kB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01171, allocations: 29.7 kB / 282 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01181, allocations: 227 kB / 282.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.01184, allocations: 55.56 kB / 282.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.01191, allocations: 59.34 kB / 282.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01204, allocations: 0.5039 MB / 282.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.01212, allocations: 43.97 kB / 282.9 MB, free: 7.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01227, allocations: 204.9 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.01241, allocations: 99.38 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01242, allocations: 4 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003291/0.01571, allocations: 0.7888 MB / 284 MB, free: 5.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.01573, allocations: 12 kB / 284 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01574, allocations: 0 / 284 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/0.02229, allocations: 1.466 MB / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.02237, allocations: 19.98 kB / 285.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.02756, allocations: 4.82 MB / 290.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.02775, allocations: 27.84 kB / 290.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.02777, allocations: 11.97 kB / 290.4 MB, free: 15.31 MB / 282.7 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.0001292/0.0279, allocations: 168.6 kB / 290.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.02795, allocations: 27.86 kB / 290.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.02797, allocations: 29.7 kB / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.02797, allocations: 0 / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.02798, allocations: 4 kB / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.02798, allocations: 0 / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.02853, allocations: 0.5274 MB / 291.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02853, allocations: 0 / 291.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.02859, allocations: 19.98 kB / 291.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.02877, allocations: 63.36 kB / 291.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.02878, allocations: 3.984 kB / 291.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.03047, allocations: 3.725 MB / 294.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.03047, allocations: 3.938 kB / 294.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.03076, allocations: 322.7 kB / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.0308, allocations: 27.78 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.03082, allocations: 4 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.03091, allocations: 11.98 kB / 295.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.03099, allocations: 35.89 kB / 295.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.031, allocations: 12.06 kB / 295.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.03114, allocations: 213.1 kB / 295.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.03114, allocations: 0 / 295.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.03153, allocations: 99.84 kB / 295.7 MB, free: 9.68 MB / 282.7 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.0001167/0.03165, allocations: 99.25 kB / 295.7 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000838/0.03248, allocations: 0.5911 MB / 296.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03249, allocations: 8 kB / 296.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.03272, allocations: 419.2 kB / 296.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.03303, allocations: 63.53 kB / 296.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.03398, allocations: 0.5003 MB / 297.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.103e-05/0.03404, allocations: 84.56 kB / 297.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.03411, allocations: 21.95 kB / 297.4 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.03417, allocations: 28.48 kB / 297.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.03418, allocations: 4 kB / 297.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of Templates: time 0.1173/0.1515, allocations: 8.551 MB / 306 MB, free: 39.67 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.238868244923651]