Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001616, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007865/0.0007865, allocations: 101.6 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002775, allocations: 4 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3211, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003058/0.3243, allocations: 2.419 MB / 414.5 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3259, allocations: 1.099 MB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.326, allocations: 4 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.3262, allocations: 35.7 kB / 415.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.3265, allocations: 96.91 kB / 415.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.3269, allocations: 171.7 kB / 415.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3272, allocations: 450.4 kB / 416.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.3275, allocations: 96.02 kB / 416.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.3278, allocations: 167.3 kB / 416.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.328, allocations: 187.2 kB / 416.8 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.328, allocations: 24 kB / 416.8 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.3281, allocations: 24 kB / 416.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.3282, allocations: 63.73 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.3283, allocations: 188.8 kB / 417.1 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.3287, allocations: 422.4 kB / 417.5 MB, free: 20.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3287, allocations: 4 kB / 417.5 MB, free: 20.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3287, allocations: 0 / 417.5 MB, free: 20.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3287, allocations: 0 / 417.5 MB, free: 20.39 MB / 298.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.001331/0.3301, allocations: 0.6392 MB / 418.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3301, allocations: 8.031 kB / 418.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.3303, allocations: 48.47 kB / 418.2 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3307, allocations: 298.7 kB / 418.5 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.3308, allocations: 54.62 kB / 418.5 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.3308, allocations: 28.38 kB / 418.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.3313, allocations: 276.5 kB / 418.8 MB, free: 18.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3313, allocations: 0 / 418.8 MB, free: 18.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.3313, allocations: 15.98 kB / 418.8 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3313, allocations: 8 kB / 418.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.3317, allocations: 177.6 kB / 419 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.3337, allocations: 1.052 MB / 420.1 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.334, allocations: 130.5 kB / 420.2 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3342, allocations: 88.77 kB / 420.3 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3343, allocations: 0 / 420.3 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3343, allocations: 34.56 kB / 420.3 MB, free: 17.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.3343, allocations: 0 / 420.3 MB, free: 17.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008902/0.3352, allocations: 453.4 kB / 420.8 MB, free: 16.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3353, allocations: 162.2 kB / 420.9 MB, free: 16.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3355, allocations: 266.5 kB / 421.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3356, allocations: 33.7 kB / 421.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3357, allocations: 180.1 kB / 421.4 MB, free: 16.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3357, allocations: 51.27 kB / 421.4 MB, free: 16.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.3358, allocations: 4 kB / 421.4 MB, free: 16.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3359, allocations: 334.8 kB / 421.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3361, allocations: 83.97 kB / 421.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3362, allocations: 139.7 kB / 422 MB, free: 15.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3365, allocations: 175.2 kB / 422.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3365, allocations: 0 / 422.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.006897/0.3434, allocations: 0.8955 MB / 423 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.3435, allocations: 11.94 kB / 423.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3436, allocations: 0 / 423.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008276/0.3518, allocations: 0.8365 MB / 423.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3521, allocations: 23.97 kB / 423.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/0.3597, allocations: 4.495 MB / 428.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3601, allocations: 27.86 kB / 428.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3601, allocations: 15.98 kB / 428.5 MB, free: 8.766 MB / 298.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.0001981/0.3603, allocations: 137.8 kB / 428.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3604, allocations: 23.72 kB / 428.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.3604, allocations: 29.83 kB / 428.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3604, allocations: 3.938 kB / 428.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3605, allocations: 0 / 428.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3605, allocations: 0 / 428.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.3614, allocations: 0.6334 MB / 429.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3614, allocations: 0 / 429.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3615, allocations: 28.02 kB / 429.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.3617, allocations: 45.69 kB / 429.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3617, allocations: 7.984 kB / 429.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.3632, allocations: 2.68 MB / 432 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3632, allocations: 0 / 432 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.3636, allocations: 321.7 kB / 432.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.3637, allocations: 104.8 kB / 432.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3637, allocations: 7.938 kB / 432.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3639, allocations: 15.98 kB / 432.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.364, allocations: 27.97 kB / 432.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.364, allocations: 7.984 kB / 432.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3642, allocations: 190 kB / 432.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3642, allocations: 4 kB / 432.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005667/0.3648, allocations: 99.78 kB / 432.8 MB, free: 4.027 MB / 298.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.0001722/0.365, allocations: 115.2 kB / 432.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3664, allocations: 0.5479 MB / 433.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3664, allocations: 0 / 433.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3668, allocations: 333.2 kB / 433.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.3672, allocations: 52.52 kB / 433.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/0.3681, allocations: 0.6576 MB / 434.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3684, allocations: 0.7558 MB / 435.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3685, allocations: 25.58 kB / 435.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3686, allocations: 27.42 kB / 435.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3686, allocations: 0 / 435.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of Templates: time 0.0129/0.3815, allocations: 6.902 MB / 442.2 MB, free: 10.52 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (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 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)