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.004802/0.004802, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001391/0.001391, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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.9944/0.9944, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.116/0.116, allocations: 29.43 MB / 292 MB, free: 2.621 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.734e-06/1.734e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.891e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.002867/0.002886, allocations: 3.482 MB / 374.4 MB, free: 28.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003983, allocations: 1.196 MB / 375.6 MB, free: 27.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.00411, allocations: 11.88 kB / 375.6 MB, free: 27.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.004586, allocations: 199.1 kB / 375.8 MB, free: 27.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.004958, allocations: 282.6 kB / 376 MB, free: 27.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.005137, allocations: 135.5 kB / 376.2 MB, free: 26.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.005379, allocations: 338.9 kB / 376.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.005559, allocations: 118.1 kB / 376.6 MB, free: 26.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.005771, allocations: 207.4 kB / 376.8 MB, free: 26.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.005953, allocations: 143.5 kB / 377 MB, free: 26.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.005973, allocations: 16 kB / 377 MB, free: 26.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.006235, allocations: 287.1 kB / 377.3 MB, free: 25.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.006319, allocations: 103.7 kB / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.006379, allocations: 87.83 kB / 377.4 MB, free: 25.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.006677, allocations: 311 kB / 377.7 MB, free: 25.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006679, allocations: 0 / 377.7 MB, free: 25.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006679, allocations: 0 / 377.7 MB, free: 25.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.006684, allocations: 0 / 377.7 MB, free: 25.4 MB / 314.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.0004564/0.00714, allocations: 0.5538 MB / 378.3 MB, free: 24.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.007171, allocations: 8.031 kB / 378.3 MB, free: 24.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/0.007621, allocations: 124.6 kB / 378.4 MB, free: 24.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.007806, allocations: 212.2 kB / 378.6 MB, free: 24.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.007819, allocations: 16.36 kB / 378.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.007844, allocations: 16.38 kB / 378.7 MB, free: 24.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.008025, allocations: 215.6 kB / 378.9 MB, free: 24.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.008037, allocations: 192 / 378.9 MB, free: 24.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.008051, allocations: 8.375 kB / 378.9 MB, free: 24.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.008076, allocations: 23.92 kB / 378.9 MB, free: 24.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.008183, allocations: 103.8 kB / 379 MB, free: 24.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.008914, allocations: 1.196 MB / 380.2 MB, free: 22.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.009086, allocations: 122.2 kB / 380.3 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.009127, allocations: 46.94 kB / 380.4 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.009143, allocations: 7.922 kB / 380.4 MB, free: 22.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.00916, allocations: 41.33 kB / 380.4 MB, free: 22.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.009161, allocations: 4 kB / 380.4 MB, free: 22.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003621/0.009524, allocations: 177.3 kB / 380.6 MB, free: 22.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.009554, allocations: 85.03 kB / 380.7 MB, free: 22.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.009651, allocations: 238.5 kB / 380.9 MB, free: 21.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.009662, allocations: 29.7 kB / 380.9 MB, free: 21.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.009727, allocations: 210.9 kB / 381.2 MB, free: 21.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.009755, allocations: 63.47 kB / 381.2 MB, free: 21.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.009803, allocations: 55.56 kB / 381.3 MB, free: 21.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.009867, allocations: 0.5078 MB / 381.8 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.009899, allocations: 28.56 kB / 381.8 MB, free: 21.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.009964, allocations: 129.2 kB / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.01008, allocations: 174.8 kB / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01008, allocations: 0 / 382.1 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001681/0.01025, allocations: 185.3 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01026, allocations: 6.188 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01027, allocations: 4 kB / 382.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01028, allocations: 4 kB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.0104, allocations: 51.91 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.0104, allocations: 4 kB / 382.4 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.01046, allocations: 8.281 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01048, allocations: 12 kB / 382.4 MB, free: 20.42 MB / 314.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 5.596e-05/0.01053, allocations: 168.5 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01056, allocations: 27.89 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.01071, allocations: 131.2 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01071, allocations: 0 / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01071, allocations: 4 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01071, allocations: 0 / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.01128, allocations: 0.6061 MB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01129, allocations: 7.938 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.01137, allocations: 35.92 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01137, allocations: 4.5 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01138, allocations: 8 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.01139, allocations: 15.94 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01139, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.0116, allocations: 410.6 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.01162, allocations: 27.88 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01165, allocations: 12 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01176, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.0118, allocations: 31.84 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01181, allocations: 12 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.01187, allocations: 168.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01187, allocations: 0 / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.01219, allocations: 52 kB / 384.1 MB, free: 18.51 MB / 314.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 7.568e-05/0.01226, allocations: 103.1 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.01244, allocations: 122 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01244, allocations: 128 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.01251, allocations: 59.48 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.0129, allocations: 45.95 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.01377, allocations: 0.5608 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01382, allocations: 99.95 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.01389, allocations: 21.64 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.01398, allocations: 94.19 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01398, allocations: 0 / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003818/0.0178, allocations: 2.015 MB / 387.2 MB, free: 15.3 MB / 314.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.2202129582874477]