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.001906/0.001906, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002366/0.002366, allocations: 161.7 kB / 24.27 MB, free: 172 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3028/0.3028, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.793e-06/1.793e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.36e-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.005751/0.005784, allocations: 3.445 MB / 372.3 MB, free: 7.852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.00874, allocations: 1.422 MB / 373.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.008881, allocations: 7.938 kB / 373.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009506/0.009831, allocations: 254.8 kB / 374 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.01052, allocations: 282.6 kB / 374.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.01087, allocations: 131.5 kB / 374.4 MB, free: 5.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.01135, allocations: 346.9 kB / 374.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.01165, allocations: 122 kB / 374.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.01207, allocations: 203.3 kB / 375.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.01234, allocations: 151.6 kB / 375.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.01238, allocations: 16 kB / 375.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.01288, allocations: 283 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.01304, allocations: 107.7 kB / 375.6 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.01317, allocations: 79.83 kB / 375.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.01378, allocations: 370.9 kB / 376 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.01379, allocations: 3.984 kB / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01379, allocations: 0 / 376.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.01379, allocations: 0 / 376.1 MB, free: 4.109 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.0008013/0.0146, allocations: 460.9 kB / 376.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01464, allocations: 15.98 kB / 376.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.01564, allocations: 132.6 kB / 376.6 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.01602, allocations: 217.3 kB / 376.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01604, allocations: 16.36 kB / 376.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.01609, allocations: 16.38 kB / 376.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.01665, allocations: 330.6 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.01666, allocations: 192 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.01669, allocations: 4.375 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.01673, allocations: 19.94 kB / 377.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.01723, allocations: 287.8 kB / 377.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.01909, allocations: 1.143 MB / 378.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.01958, allocations: 221 kB / 378.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.01975, allocations: 97.67 kB / 379 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01977, allocations: 0 / 379 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.01981, allocations: 38.56 kB / 379 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.01981, allocations: 0 / 379 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009511/0.02076, allocations: 452.9 kB / 379.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.02083, allocations: 77.11 kB / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.02107, allocations: 199.1 kB / 379.7 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.0211, allocations: 25.7 kB / 379.7 MB, free: 196 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02123, allocations: 164.2 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.02131, allocations: 63.66 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.0214, allocations: 49.7 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.02158, allocations: 330.6 kB / 380.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.02174, allocations: 87.94 kB / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.02196, allocations: 157.5 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.02254, allocations: 264.5 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.02254, allocations: 0 / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005158/0.02306, allocations: 312 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.02307, allocations: 4 kB / 381.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.02308, allocations: 4 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.0231, allocations: 4 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.02335, allocations: 51.91 kB / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.02337, allocations: 4 kB / 381.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.02351, allocations: 15.92 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.02354, allocations: 16.25 kB / 381.2 MB, free: 14.61 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.0001661/0.02371, allocations: 157.8 kB / 381.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.02377, allocations: 19.91 kB / 381.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.02421, allocations: 235.2 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02422, allocations: 0 / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.02422, allocations: 4 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.02423, allocations: 3.938 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.02571, allocations: 0.8576 MB / 382.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.02572, allocations: 8 kB / 382.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.02587, allocations: 31.92 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.02588, allocations: 8 kB / 382.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.0259, allocations: 8.5 kB / 382.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.02591, allocations: 7.984 kB / 382.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.02592, allocations: 19.88 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.02645, allocations: 412.9 kB / 383 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.02649, allocations: 23.89 kB / 383 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.02653, allocations: 11.94 kB / 383 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.02671, allocations: 11.98 kB / 383 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.02676, allocations: 27.86 kB / 383.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.02678, allocations: 8 kB / 383.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.02694, allocations: 151.1 kB / 383.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02694, allocations: 4 kB / 383.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.02731, allocations: 48 kB / 383.3 MB, free: 12.41 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.0001302/0.02744, allocations: 103.2 kB / 383.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.02784, allocations: 209.7 kB / 383.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02784, allocations: 4.562 kB / 383.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02801, allocations: 99.75 kB / 383.7 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.02847, allocations: 43.02 kB / 383.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02948, allocations: 0.5504 MB / 384.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.02969, allocations: 160.1 kB / 384.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.02984, allocations: 53.59 kB / 384.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.02992, allocations: 20.5 kB / 384.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02992, allocations: 0 / 384.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.005435/0.03536, allocations: 1.85 MB / 386.4 MB, free: 9.258 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=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/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.7785862890305]