Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1763/0.1763, allocations: 38.53 MB / 353.2 MB, free: 12.64 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005141/0.3147, allocations: 3.604 MB / 0.5467 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3171, allocations: 1.557 MB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.3173, allocations: 8.406 kB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008741/0.3181, allocations: 264 kB / 0.5485 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006478/0.3188, allocations: 286 kB / 0.5488 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.3191, allocations: 122.4 kB / 0.5489 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.3196, allocations: 342.6 kB / 0.5492 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.3199, allocations: 127.1 kB / 0.5494 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.3202, allocations: 159.4 kB / 0.5495 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3205, allocations: 173.8 kB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3205, allocations: 14.59 kB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005711/0.3211, allocations: 342.5 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3212, allocations: 97.75 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3213, allocations: 110.5 kB / 0.5502 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.3219, allocations: 358.7 kB / 0.5506 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3219, allocations: 0 / 0.5506 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3219, allocations: 0 / 0.5506 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3219, allocations: 1.312 kB / 0.5506 GB, free: 11.03 MB / 398.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.0007372/0.3226, allocations: 458.3 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3227, allocations: 12.86 kB / 0.551 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.3235, allocations: 101.1 kB / 0.5511 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3239, allocations: 209.6 kB / 0.5513 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3239, allocations: 15.34 kB / 0.5513 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.324, allocations: 19.77 kB / 0.5513 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.3245, allocations: 321.5 kB / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3245, allocations: 1.25 kB / 0.5516 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.3245, allocations: 10.61 kB / 0.5517 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.3246, allocations: 21.89 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.325, allocations: 284.2 kB / 0.5519 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3268, allocations: 1.239 MB / 0.5532 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.3273, allocations: 223.6 kB / 0.5534 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3274, allocations: 95.03 kB / 0.5535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3275, allocations: 3.25 kB / 0.5535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3275, allocations: 39.94 kB / 0.5535 GB, free: 8.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.3275, allocations: 4 kB / 0.5535 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008758/0.3284, allocations: 442.9 kB / 0.5539 GB, free: 8.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3284, allocations: 79.55 kB / 0.554 GB, free: 8.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3286, allocations: 200.8 kB / 0.5542 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3287, allocations: 30.86 kB / 0.5542 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3288, allocations: 163.9 kB / 0.5544 GB, free: 8.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.3288, allocations: 59.77 kB / 0.5544 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.3289, allocations: 43.27 kB / 0.5545 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3291, allocations: 331.7 kB / 0.5548 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3292, allocations: 91.97 kB / 0.5549 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3294, allocations: 162.1 kB / 0.555 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3298, allocations: 270.7 kB / 0.5553 GB, free: 7.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3298, allocations: 1.125 kB / 0.5553 GB, free: 7.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004189/0.3302, allocations: 297.4 kB / 0.5556 GB, free: 7.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3302, allocations: 6.719 kB / 0.5556 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3302, allocations: 6.359 kB / 0.5556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3302, allocations: 7.312 kB / 0.5556 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3305, allocations: 60.75 kB / 0.5557 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3305, allocations: 7.359 kB / 0.5557 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3306, allocations: 14.61 kB / 0.5557 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3307, allocations: 12.62 kB / 0.5557 GB, free: 7.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001455/0.3308, allocations: 144.1 kB / 0.5558 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3308, allocations: 21.11 kB / 0.5558 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.3312, allocations: 236.8 kB / 0.5561 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3312, allocations: 2.344 kB / 0.5561 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3312, allocations: 4 kB / 0.5561 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3313, allocations: 1.125 kB / 0.5561 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3326, allocations: 0.9213 MB / 0.557 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.3326, allocations: 4 kB / 0.557 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.3328, allocations: 40.42 kB / 0.557 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3328, allocations: 8 kB / 0.557 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3328, allocations: 11.98 kB / 0.557 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.3328, allocations: 7.938 kB / 0.557 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3328, allocations: 7.938 kB / 0.5571 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.3332, allocations: 409 kB / 0.5574 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.3333, allocations: 27.83 kB / 0.5575 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3333, allocations: 8 kB / 0.5575 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3335, allocations: 15.92 kB / 0.5575 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3335, allocations: 23.92 kB / 0.5575 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3335, allocations: 15.94 kB / 0.5575 GB, free: 5.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3337, allocations: 151 kB / 0.5577 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3337, allocations: 0 / 0.5577 GB, free: 5.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.334, allocations: 52 kB / 0.5577 GB, free: 5.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0001294/0.3342, allocations: 107.1 kB / 0.5578 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3346, allocations: 215.6 kB / 0.558 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3346, allocations: 0 / 0.558 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3347, allocations: 97 kB / 0.5581 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3352, allocations: 43.92 kB / 0.5582 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3362, allocations: 0.6099 MB / 0.5588 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3366, allocations: 0.7671 MB / 0.5595 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.3367, allocations: 23.44 kB / 0.5595 GB, free: 3.129 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3367, allocations: 0 / 0.5595 GB, free: 3.129 MB / 398.1 MB Notification: Performance of Templates: time 0.004967/0.3416, allocations: 2.693 MB / 0.5622 GB, free: 440 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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: 7.1118347640149295]