Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.0009334/0.0009334, allocations: 80.41 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.001088/0.001088, allocations: 166 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.9626/0.9626, allocations: 177.1 MB / 206 MB, free: 4.523 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.1291/0.1291, allocations: 29.42 MB / 292 MB, free: 2.637 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.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.235e-05, allocations: 2.312 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003062/0.003084, allocations: 3.84 MB / 374.7 MB, free: 28.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.004544, allocations: 1.425 MB / 376.1 MB, free: 27.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.004713, allocations: 11.88 kB / 376.2 MB, free: 27.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.005254, allocations: 262.9 kB / 376.4 MB, free: 26.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.005921, allocations: 410.1 kB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.006261, allocations: 143.4 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.006707, allocations: 494.8 kB / 377.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.006978, allocations: 167.4 kB / 377.6 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.007338, allocations: 291.1 kB / 377.9 MB, free: 25.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.007588, allocations: 219.4 kB / 378.1 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.00761, allocations: 20 kB / 378.1 MB, free: 25.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.008047, allocations: 382.8 kB / 378.5 MB, free: 24.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.008164, allocations: 167.6 kB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.008243, allocations: 115.7 kB / 378.8 MB, free: 24.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.008727, allocations: 442.6 kB / 379.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008731, allocations: 0 / 379.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008732, allocations: 0 / 379.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.008737, allocations: 7.938 kB / 379.2 MB, free: 23.95 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0005256/0.009263, allocations: 0.624 MB / 379.8 MB, free: 23.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.009297, allocations: 12.03 kB / 379.8 MB, free: 23.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006472/0.009944, allocations: 176.5 kB / 380 MB, free: 23.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.01019, allocations: 232.2 kB / 380.2 MB, free: 22.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.01021, allocations: 21.03 kB / 380.3 MB, free: 22.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.01024, allocations: 28.38 kB / 380.3 MB, free: 22.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01048, allocations: 277.6 kB / 380.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01049, allocations: 192 / 380.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.01051, allocations: 16.36 kB / 380.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.01054, allocations: 32.58 kB / 380.6 MB, free: 22.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.01069, allocations: 140.4 kB / 380.7 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.01166, allocations: 1.444 MB / 382.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.01182, allocations: 135.7 kB / 382.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.01188, allocations: 63.41 kB / 382.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.0119, allocations: 4 kB / 382.4 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01192, allocations: 37.39 kB / 382.4 MB, free: 20.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.01192, allocations: 3.938 kB / 382.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007779/0.0127, allocations: 415.7 kB / 382.8 MB, free: 20.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.01272, allocations: 81.11 kB / 382.9 MB, free: 20 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.01281, allocations: 258.6 kB / 383.2 MB, free: 19.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.01282, allocations: 29.7 kB / 383.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.01288, allocations: 235.1 kB / 383.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.01291, allocations: 83.31 kB / 383.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01302, allocations: 59.62 kB / 383.6 MB, free: 19.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.01307, allocations: 0.5118 MB / 384.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.01311, allocations: 32.53 kB / 384.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.01318, allocations: 176.7 kB / 384.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.01332, allocations: 234.9 kB / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01332, allocations: 0 / 384.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003112/0.01363, allocations: 281 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01364, allocations: 11.97 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01365, allocations: 4 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.01387, allocations: 75.61 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.01399, allocations: 51.92 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009249/0.01491, allocations: 2.154 MB / 387.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.01501, allocations: 11.94 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01503, allocations: 8 kB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.01512, allocations: 180.5 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.01516, allocations: 31.8 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.01544, allocations: 235.7 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01544, allocations: 4 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01545, allocations: 0 / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01545, allocations: 0 / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.016, allocations: 0.6022 MB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01601, allocations: 4 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.01607, allocations: 27.98 kB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.01621, allocations: 63.67 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01622, allocations: 8.125 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008307/0.01705, allocations: 2.11 MB / 390.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01705, allocations: 0 / 390.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.01733, allocations: 400.4 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.01735, allocations: 15.86 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01737, allocations: 11.98 kB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.01743, allocations: 4 kB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.01746, allocations: 23.91 kB / 390.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01748, allocations: 8.047 kB / 390.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.01752, allocations: 173.4 kB / 391 MB, free: 11.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01752, allocations: 0 / 391 MB, free: 11.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.01784, allocations: 84 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.47e-05/0.01792, allocations: 107.1 kB / 391.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.01825, allocations: 361.9 kB / 391.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01825, allocations: 0 / 391.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.0184, allocations: 289.1 kB / 391.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.01867, allocations: 41.28 kB / 391.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.01951, allocations: 0.558 MB / 392.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.01957, allocations: 112.3 kB / 392.5 MB, free: 9.789 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.01963, allocations: 30.06 kB / 392.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.01971, allocations: 102.2 kB / 392.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01971, allocations: 0 / 392.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of Templates: time 0.004559/0.02427, allocations: 3.3 MB / 395.9 MB, free: 6.406 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.1806732611730695]