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.001341/0.001341, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00158/0.00158, allocations: 161 kB / 24.56 MB, free: 16 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 0.9631/0.9631, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2265/0.2265, allocations: 29.42 MB / 290.9 MB, free: 2.508 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",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.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.455e-05, allocations: 5.547 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003539/0.003563, allocations: 3.504 MB / 373.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.005336, allocations: 1.211 MB / 374.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.005446, allocations: 11.94 kB / 374.4 MB, free: 6.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.005923, allocations: 211.1 kB / 374.6 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.006414, allocations: 274.7 kB / 374.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.006694, allocations: 135.4 kB / 375 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.007042, allocations: 334.9 kB / 375.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.007254, allocations: 118 kB / 375.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.007537, allocations: 199.4 kB / 375.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.007728, allocations: 151.5 kB / 375.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.007749, allocations: 16 kB / 375.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.00808, allocations: 283.1 kB / 376 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.008172, allocations: 111.7 kB / 376.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.008241, allocations: 71.84 kB / 376.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.008637, allocations: 318.9 kB / 376.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.008641, allocations: 0 / 376.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.008642, allocations: 0 / 376.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.008647, allocations: 0 / 376.5 MB, free: 4.082 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.0005321/0.009179, allocations: 0.5462 MB / 377.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.009213, allocations: 15.98 kB / 377.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.009754, allocations: 140.5 kB / 377.2 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.009997, allocations: 212.2 kB / 377.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.01001, allocations: 12.38 kB / 377.5 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.01004, allocations: 20.31 kB / 377.5 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.01032, allocations: 223.7 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01034, allocations: 12.17 kB / 377.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.01035, allocations: 4.375 kB / 377.7 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.01038, allocations: 23.94 kB / 377.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.01056, allocations: 119.8 kB / 377.9 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01159, allocations: 1.261 MB / 379.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.01184, allocations: 154.1 kB / 379.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.0119, allocations: 39.42 kB / 379.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.01192, allocations: 7.938 kB / 379.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.01195, allocations: 41.39 kB / 379.3 MB, free: 1.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.01195, allocations: 0 / 379.3 MB, free: 1.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004658/0.01242, allocations: 244.4 kB / 379.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.01245, allocations: 81.11 kB / 379.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.01258, allocations: 246.6 kB / 379.9 MB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.0126, allocations: 29.64 kB / 379.9 MB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.01268, allocations: 207.1 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.01271, allocations: 67.47 kB / 380.2 MB, free: 152 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.01277, allocations: 55.55 kB / 380.3 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003788/0.01315, allocations: 0.5078 MB / 380.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.01321, allocations: 32.45 kB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.0133, allocations: 138.2 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.01347, allocations: 191 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01347, allocations: 0 / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002241/0.0137, allocations: 197.3 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01371, allocations: 8 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01372, allocations: 288 / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01373, allocations: 8 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01388, allocations: 51.91 kB / 381.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01389, allocations: 4 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.01396, allocations: 19.92 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01397, allocations: 8 kB / 381.4 MB, free: 14.84 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 8.81e-05/0.01406, allocations: 176.4 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.01409, allocations: 23.91 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.01428, allocations: 134.3 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01428, allocations: 4 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01429, allocations: 8 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01429, allocations: 7.969 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.01489, allocations: 0.6723 MB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.0149, allocations: 4 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.01497, allocations: 27.98 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01497, allocations: 8 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01499, allocations: 11.98 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01499, allocations: 7.938 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01499, allocations: 4 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01525, allocations: 430.5 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01527, allocations: 19.94 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01529, allocations: 15.98 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.01537, allocations: 4 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.0154, allocations: 31.84 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.01542, allocations: 8 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.01549, allocations: 174.9 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01549, allocations: 0 / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.01572, allocations: 51.98 kB / 383.2 MB, free: 12.82 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 8.076e-05/0.0158, allocations: 103.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.01598, allocations: 135.8 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01599, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.01605, allocations: 60.8 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.01634, allocations: 48.39 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.01722, allocations: 0.5486 MB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.01729, allocations: 99.95 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.01737, allocations: 45.59 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.01741, allocations: 16.5 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01742, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003525/0.02094, allocations: 1.913 MB / 386.2 MB, free: 9.766 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0147145870141685]