Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001721, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.74/1.74, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009073/0.0009075, allocations: 98.44 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2963, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003532/0.3, allocations: 3.082 MB / 415.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3019, allocations: 1.172 MB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.3022, allocations: 9.688 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.3024, allocations: 59.52 kB / 416.4 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3027, allocations: 123.5 kB / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.3032, allocations: 171.7 kB / 416.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.3036, allocations: 0.5841 MB / 417.3 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.304, allocations: 194 kB / 417.4 MB, free: 20.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3042, allocations: 203.2 kB / 417.6 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3044, allocations: 250.8 kB / 417.9 MB, free: 19.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.3045, allocations: 28 kB / 417.9 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.3046, allocations: 32 kB / 417.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.3047, allocations: 99.58 kB / 418 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3049, allocations: 264.4 kB / 418.3 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.3054, allocations: 0.5813 MB / 418.9 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.3054, allocations: 0 / 418.9 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3054, allocations: 4 kB / 418.9 MB, free: 18.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3055, allocations: 0 / 418.9 MB, free: 18.98 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001413/0.3069, allocations: 0.7581 MB / 419.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.3069, allocations: 12.03 kB / 419.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3071, allocations: 56.38 kB / 419.7 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3075, allocations: 338.4 kB / 420 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3075, allocations: 37.38 kB / 420.1 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.3076, allocations: 40.38 kB / 420.1 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.3083, allocations: 0.5178 MB / 420.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3084, allocations: 0 / 420.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.3084, allocations: 27.98 kB / 420.7 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3084, allocations: 8 kB / 420.7 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.309, allocations: 327.8 kB / 421 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3109, allocations: 1.576 MB / 422.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.3114, allocations: 222.4 kB / 422.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3116, allocations: 100.8 kB / 422.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3116, allocations: 4 kB / 422.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.312, allocations: 224.7 kB / 423.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.312, allocations: 0 / 423.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00135/0.3133, allocations: 0.7877 MB / 423.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.3134, allocations: 320.4 kB / 424.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3137, allocations: 302.9 kB / 424.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3138, allocations: 33.7 kB / 424.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3139, allocations: 263.4 kB / 424.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.314, allocations: 102.5 kB / 424.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.314, allocations: 11.98 kB / 424.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.3141, allocations: 338.8 kB / 425.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3143, allocations: 104.7 kB / 425.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.3146, allocations: 269.1 kB / 425.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.315, allocations: 342.3 kB / 425.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.315, allocations: 0 / 425.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009426/0.316, allocations: 0.5352 MB / 426.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.316, allocations: 45.62 kB / 426.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.316, allocations: 7.984 kB / 426.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.3166, allocations: 162.4 kB / 426.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3168, allocations: 51.91 kB / 426.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.32, allocations: 4.537 MB / 431.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3204, allocations: 71.56 kB / 431.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3205, allocations: 16 kB / 431.4 MB, free: 5.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.3207, allocations: 165.7 kB / 431.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.3207, allocations: 35.56 kB / 431.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.3208, allocations: 38.98 kB / 431.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3208, allocations: 4 kB / 431.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3208, allocations: 4 kB / 431.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3208, allocations: 0 / 431.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3212, allocations: 429.2 kB / 432 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3212, allocations: 0 / 432 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3214, allocations: 47.84 kB / 432.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.3216, allocations: 99.36 kB / 432.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3217, allocations: 8 kB / 432.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.3246, allocations: 5.293 MB / 437.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3246, allocations: 160 / 437.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.3254, allocations: 374.4 kB / 437.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.3255, allocations: 108.8 kB / 437.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.3255, allocations: 12 kB / 437.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3258, allocations: 35.97 kB / 438 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.326, allocations: 55.86 kB / 438 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.326, allocations: 12 kB / 438 MB, free: 14.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3263, allocations: 217.9 kB / 438.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3263, allocations: 0 / 438.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.3269, allocations: 151.6 kB / 438.4 MB, free: 13.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.3271, allocations: 115.3 kB / 438.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3284, allocations: 0.7254 MB / 439.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3284, allocations: 0 / 439.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.3292, allocations: 0.5993 MB / 439.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3295, allocations: 56.64 kB / 439.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3309, allocations: 0.8902 MB / 440.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.3313, allocations: 0.8154 MB / 441.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.3315, allocations: 39.02 kB / 441.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.3316, allocations: 39.36 kB / 441.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3316, allocations: 4 kB / 441.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of Templates: time 0.01085/0.3425, allocations: 5.553 MB / 447.2 MB, free: 4.793 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)