Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.53 MB / 344.5 MB, free: 2.539 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.08 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 61.24 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004515/0.3214, allocations: 3.534 MB / 0.534 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3231, allocations: 1.475 MB / 0.5355 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3233, allocations: 5.5 kB / 0.5355 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.3241, allocations: 254.4 kB / 0.5357 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.3246, allocations: 283.8 kB / 0.536 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3249, allocations: 118 kB / 0.5361 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3253, allocations: 341.3 kB / 0.5364 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.3255, allocations: 94.64 kB / 0.5365 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3257, allocations: 156.5 kB / 0.5366 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3259, allocations: 166.2 kB / 0.5368 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.326, allocations: 14.28 kB / 0.5368 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3264, allocations: 316.6 kB / 0.5371 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3265, allocations: 106.1 kB / 0.5372 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3266, allocations: 106 kB / 0.5373 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.327, allocations: 344.5 kB / 0.5377 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.327, allocations: 0 / 0.5377 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.327, allocations: 3.938 kB / 0.5377 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.327, allocations: 1.375 kB / 0.5377 GB, free: 0.6211 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005976/0.3276, allocations: 0.5097 MB / 0.5382 GB, free: 136 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3277, allocations: 9.688 kB / 0.5382 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008505/0.3285, allocations: 100.1 kB / 0.5383 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.3289, allocations: 270.7 kB / 0.5385 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3289, allocations: 15.38 kB / 0.5385 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.3289, allocations: 20.53 kB / 0.5386 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.3295, allocations: 319.6 kB / 0.5389 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3295, allocations: 1.656 kB / 0.5389 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3295, allocations: 5.688 kB / 0.5389 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.3296, allocations: 20.52 kB / 0.5389 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.3301, allocations: 291.9 kB / 0.5392 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3322, allocations: 1.289 MB / 0.5404 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.3328, allocations: 238.5 kB / 0.5407 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3329, allocations: 51.69 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.333, allocations: 5.5 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.333, allocations: 32.19 kB / 0.5407 GB, free: 14.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.333, allocations: 0 / 0.5407 GB, free: 14.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009543/0.334, allocations: 289.9 kB / 0.541 GB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3341, allocations: 90.34 kB / 0.5411 GB, free: 13.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3343, allocations: 187.2 kB / 0.5413 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3344, allocations: 30.98 kB / 0.5413 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3345, allocations: 168.7 kB / 0.5415 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3346, allocations: 49.25 kB / 0.5415 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.3347, allocations: 42.64 kB / 0.5416 GB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3348, allocations: 327.4 kB / 0.5419 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.3349, allocations: 48.97 kB / 0.5419 GB, free: 12.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3351, allocations: 148.6 kB / 0.5421 GB, free: 12.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.3355, allocations: 221 kB / 0.5423 GB, free: 12.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3355, allocations: 1.156 kB / 0.5423 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004483/0.3359, allocations: 233.7 kB / 0.5425 GB, free: 12.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.336, allocations: 6.656 kB / 0.5425 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.336, allocations: 7.812 kB / 0.5425 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.336, allocations: 4.219 kB / 0.5425 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3362, allocations: 47.7 kB / 0.5426 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3362, allocations: 5.031 kB / 0.5426 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3363, allocations: 12.45 kB / 0.5426 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3363, allocations: 13.62 kB / 0.5426 GB, free: 12.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.3365, allocations: 149.4 kB / 0.5427 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.3366, allocations: 26.72 kB / 0.5428 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3369, allocations: 155.3 kB / 0.5429 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3369, allocations: 1.5 kB / 0.5429 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3369, allocations: 1.281 kB / 0.5429 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3369, allocations: 0 / 0.5429 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.3378, allocations: 0.665 MB / 0.5436 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3378, allocations: 8.219 kB / 0.5436 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3379, allocations: 29.23 kB / 0.5436 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.3379, allocations: 8.312 kB / 0.5436 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3379, allocations: 4.5 kB / 0.5436 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.338, allocations: 5.375 kB / 0.5436 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.338, allocations: 3.906 kB / 0.5436 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3383, allocations: 348 kB / 0.5439 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.3384, allocations: 101.3 kB / 0.544 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.3385, allocations: 9.938 kB / 0.544 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3386, allocations: 7.656 kB / 0.5441 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3386, allocations: 19.89 kB / 0.5441 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3387, allocations: 7.156 kB / 0.5441 GB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3388, allocations: 142.5 kB / 0.5442 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3388, allocations: 0 / 0.5442 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3392, allocations: 43.38 kB / 0.5443 GB, free: 11.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/0.3393, allocations: 118.2 kB / 0.5444 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.3396, allocations: 139.8 kB / 0.5445 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3396, allocations: 1.781 kB / 0.5445 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3398, allocations: 68.81 kB / 0.5446 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.3402, allocations: 32.55 kB / 0.5446 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.3412, allocations: 0.5032 MB / 0.5451 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3416, allocations: 0.7571 MB / 0.5458 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3417, allocations: 54 kB / 0.5459 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.3417, allocations: 16.56 kB / 0.5459 GB, free: 9.625 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3417, allocations: 1.094 kB / 0.5459 GB, free: 9.625 MB / 398.1 MB Notification: Performance of Templates: time 0.004743/0.3465, allocations: 1.438 MB / 0.5473 GB, free: 8.918 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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: 4.886266069486737]