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.0009695/0.0009695, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001017/0.001017, allocations: 161 kB / 24.56 MB, free: 12 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.074/1.074, allocations: 177.2 MB / 205 MB, free: 5.297 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.2675/0.2675, allocations: 29.41 MB / 290.9 MB, free: 2.43 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.[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 2.264e-06/2.264e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.802e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003916/0.003944, allocations: 3.507 MB / 373.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005608, allocations: 1.203 MB / 374.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.005751, allocations: 11.94 kB / 374.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.00638, allocations: 215 kB / 374.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.00697, allocations: 278.7 kB / 374.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.007293, allocations: 131.5 kB / 375 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.007692, allocations: 342.8 kB / 375.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.007994, allocations: 106.2 kB / 375.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.008388, allocations: 203.4 kB / 375.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.008642, allocations: 155.5 kB / 375.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.008672, allocations: 16 kB / 375.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.009065, allocations: 287.1 kB / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.009173, allocations: 99.78 kB / 376.1 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.00926, allocations: 75.78 kB / 376.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.009709, allocations: 322.9 kB / 376.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.009713, allocations: 0 / 376.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009714, allocations: 0 / 376.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.009721, allocations: 0 / 376.5 MB, free: 4.055 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.0006201/0.01034, allocations: 0.5462 MB / 377.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.01039, allocations: 15.98 kB / 377.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/0.01099, allocations: 136.5 kB / 377.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.01127, allocations: 216.1 kB / 377.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.01129, allocations: 12.38 kB / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.01133, allocations: 16.38 kB / 377.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.01163, allocations: 223.7 kB / 377.7 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01165, allocations: 12.12 kB / 377.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.01167, allocations: 8.359 kB / 377.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.0117, allocations: 23.94 kB / 377.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.01195, allocations: 119.8 kB / 377.8 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01313, allocations: 1.261 MB / 379.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.01339, allocations: 157 kB / 379.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.01345, allocations: 39.42 kB / 379.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01348, allocations: 4 kB / 379.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.0135, allocations: 41.39 kB / 379.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.01351, allocations: 3.984 kB / 379.3 MB, free: 1.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005105/0.01402, allocations: 241.1 kB / 379.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.01406, allocations: 85.05 kB / 379.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.01422, allocations: 246.6 kB / 379.9 MB, free: 436 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.01423, allocations: 25.7 kB / 379.9 MB, free: 404 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.01433, allocations: 207.1 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.01437, allocations: 63.48 kB / 380.2 MB, free: 128 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.01443, allocations: 55.55 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01458, allocations: 0.5117 MB / 380.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.01463, allocations: 32.45 kB / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01474, allocations: 138.2 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.01493, allocations: 190.8 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01493, allocations: 0 / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002291/0.01516, allocations: 200.1 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01517, allocations: 8 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01518, allocations: 288 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01519, allocations: 8 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01534, allocations: 51.91 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01535, allocations: 4 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.01542, allocations: 19.92 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.01544, allocations: 8 kB / 381.4 MB, free: 14.81 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.000107/0.01555, allocations: 172.5 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.01558, allocations: 27.89 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.01581, allocations: 131.3 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01581, allocations: 4 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01582, allocations: 4 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.01582, allocations: 3.984 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.0165, allocations: 0.6723 MB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.0165, allocations: 8 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.01658, allocations: 31.92 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.01658, allocations: 8 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.0166, allocations: 11.98 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.0166, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.01661, allocations: 7.938 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.01688, allocations: 422.6 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01691, allocations: 19.94 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.01693, allocations: 12 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.01701, allocations: 7.984 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.01705, allocations: 31.84 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.01706, allocations: 8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.708e-05/0.01715, allocations: 174.9 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01715, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01737, allocations: 51.94 kB / 383.2 MB, free: 12.8 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.0001002/0.01747, allocations: 111.1 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.01768, allocations: 130.1 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01768, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.01775, allocations: 64.78 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.01806, allocations: 35.91 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.01911, allocations: 0.5525 MB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.01918, allocations: 95.95 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.01927, allocations: 49.58 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.01933, allocations: 24.5 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01933, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004081/0.02342, allocations: 1.851 MB / 386.1 MB, free: 9.805 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.1011161552742124]