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.002565/0.002565, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002783/0.002783, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.6/1.6, allocations: 177.2 MB / 204.6 MB, free: 5.613 MB / 186.7 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.2955/0.2955, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.031e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005655/0.005686, allocations: 3.562 MB / 372.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.008339, allocations: 1.5 MB / 373.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.008493, allocations: 7.938 kB / 373.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.009394, allocations: 254.9 kB / 374.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006967/0.01009, allocations: 282.6 kB / 374.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.01048, allocations: 135.4 kB / 374.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.01095, allocations: 346.9 kB / 374.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.01124, allocations: 118 kB / 375.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.01163, allocations: 211.3 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.01192, allocations: 147.6 kB / 375.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.01196, allocations: 12 kB / 375.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.01251, allocations: 294.9 kB / 375.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01266, allocations: 111.7 kB / 375.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01279, allocations: 75.81 kB / 375.9 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.01342, allocations: 367 kB / 376.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01343, allocations: 4 kB / 376.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01343, allocations: 0 / 376.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01344, allocations: 0 / 376.2 MB, free: 3.91 MB / 346.7 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.001128/0.01456, allocations: 0.5652 MB / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01461, allocations: 11.98 kB / 376.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.01554, allocations: 136.6 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.01599, allocations: 220.1 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.01602, allocations: 12.38 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.01606, allocations: 16.38 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.01657, allocations: 247.6 kB / 377.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.01658, allocations: 192 / 377.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.01661, allocations: 8.375 kB / 377.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.01666, allocations: 23.92 kB / 377.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.017, allocations: 143.8 kB / 377.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.0191, allocations: 1.304 MB / 378.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.0195, allocations: 146.1 kB / 379.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01962, allocations: 51.42 kB / 379.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01965, allocations: 4 kB / 379.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.01969, allocations: 33.39 kB / 379.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.01969, allocations: 0 / 379.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007897/0.02048, allocations: 268.3 kB / 379.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.02056, allocations: 89.11 kB / 379.5 MB, free: 436 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.02084, allocations: 266.6 kB / 379.8 MB, free: 148 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.02087, allocations: 29.7 kB / 379.8 MB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.02107, allocations: 218.9 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.02117, allocations: 59.48 kB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.02129, allocations: 63.31 kB / 380.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003052/0.02159, allocations: 0.5117 MB / 380.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.0217, allocations: 39.98 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.02191, allocations: 144.8 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.02224, allocations: 204.7 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02224, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004045/0.02264, allocations: 216 kB / 381.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.02267, allocations: 8 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02268, allocations: 0 / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.0227, allocations: 4 kB / 381.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.02297, allocations: 51.91 kB / 381.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.02298, allocations: 7.938 kB / 381.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.02313, allocations: 23.92 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.02316, allocations: 15.98 kB / 381.3 MB, free: 14.45 MB / 362.7 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.0001669/0.02333, allocations: 172.8 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.02339, allocations: 27.83 kB / 381.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.02376, allocations: 139.4 kB / 381.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02376, allocations: 0 / 381.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.02377, allocations: 4 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.02378, allocations: 3.984 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.02506, allocations: 0.7109 MB / 382.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.02507, allocations: 4 kB / 382.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.02525, allocations: 39.91 kB / 382.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.02526, allocations: 4 kB / 382.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.02529, allocations: 12 kB / 382.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.0253, allocations: 4 kB / 382.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.02531, allocations: 8.438 kB / 382.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.02584, allocations: 444.5 kB / 382.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.02588, allocations: 19.91 kB / 382.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.02592, allocations: 15.98 kB / 382.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.02607, allocations: 4 kB / 382.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.02613, allocations: 31.84 kB / 383 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.02615, allocations: 12 kB / 383 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.02632, allocations: 183 kB / 383.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02632, allocations: 0 / 383.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004879/0.02681, allocations: 56 kB / 383.2 MB, free: 12.37 MB / 362.7 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.0001331/0.02694, allocations: 99.19 kB / 383.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.02725, allocations: 139.9 kB / 383.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02725, allocations: 0 / 383.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.02738, allocations: 68.67 kB / 383.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.02784, allocations: 42.48 kB / 383.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02895, allocations: 0.5365 MB / 384.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.02914, allocations: 152.6 kB / 384.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.02927, allocations: 41.59 kB / 384.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.02934, allocations: 16.5 kB / 384.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02934, allocations: 4 kB / 384.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.006056/0.0354, allocations: 1.849 MB / 386.1 MB, free: 9.324 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/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: 4.718231898965314]