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.000936/0.000936, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009588/0.0009588, allocations: 170.3 kB / 24.91 MB, free: 8.723 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2687/0.2687, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.753e-06/1.753e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.573e-05, allocations: 3.297 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004361/0.004387, allocations: 3.908 MB / 320.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.006162, allocations: 1.449 MB / 322.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.006306, allocations: 7.938 kB / 322.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.006848, allocations: 270.8 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006307/0.007479, allocations: 398.1 kB / 322.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.007759, allocations: 135.4 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.008196, allocations: 0.4909 MB / 323.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.008443, allocations: 189.8 kB / 323.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.009085, allocations: 287.1 kB / 324 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.009376, allocations: 215.3 kB / 324.2 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.009401, allocations: 24 kB / 324.2 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.009912, allocations: 370.9 kB / 324.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.01004, allocations: 171.6 kB / 324.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.01013, allocations: 107.8 kB / 324.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.01066, allocations: 446.6 kB / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01066, allocations: 0 / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01066, allocations: 0 / 325.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.01067, allocations: 0 / 325.3 MB, free: 7.535 MB / 298.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.0005817/0.01125, allocations: 0.4955 MB / 325.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.01128, allocations: 15.98 kB / 325.8 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.012, allocations: 180.6 kB / 326 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.01226, allocations: 225.5 kB / 326.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.01228, allocations: 17.03 kB / 326.2 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.01232, allocations: 36.28 kB / 326.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.0126, allocations: 263.5 kB / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.01261, allocations: 192 / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.01263, allocations: 20.36 kB / 326.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.01267, allocations: 24.58 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.01283, allocations: 135.2 kB / 326.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01387, allocations: 1.136 MB / 327.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.01402, allocations: 160.8 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.01407, allocations: 53.77 kB / 328 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01409, allocations: 4 kB / 328 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.01412, allocations: 38.56 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.01412, allocations: 0 / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007058/0.01482, allocations: 348 kB / 328.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.01486, allocations: 81.11 kB / 328.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.01496, allocations: 199.5 kB / 328.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.01497, allocations: 29.7 kB / 328.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.01505, allocations: 180.3 kB / 328.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.0151, allocations: 87.25 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.01516, allocations: 49.97 kB / 329 MB, free: 3.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.01524, allocations: 342.6 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.01529, allocations: 31.38 kB / 329.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.01537, allocations: 129 kB / 329.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.01552, allocations: 193.2 kB / 329.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01553, allocations: 4 kB / 329.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002827/0.01581, allocations: 236.7 kB / 329.9 MB, free: 2.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01582, allocations: 8 kB / 329.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01583, allocations: 4 kB / 330 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.01605, allocations: 69.2 kB / 330 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01616, allocations: 51.91 kB / 330.1 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.01721, allocations: 1.624 MB / 331.7 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.01729, allocations: 8 kB / 331.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.0173, allocations: 12 kB / 331.7 MB, free: 0.6641 MB / 298.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.177e-05/0.0174, allocations: 128.5 kB / 331.8 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.01743, allocations: 23.97 kB / 331.9 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.01772, allocations: 204.2 kB / 332.1 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01773, allocations: 4 kB / 332.1 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01773, allocations: 7.938 kB / 332.1 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01774, allocations: 3.984 kB / 332.1 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.01835, allocations: 0.565 MB / 332.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01835, allocations: 0 / 332.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.01843, allocations: 35.92 kB / 332.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.01857, allocations: 48.8 kB / 332.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01859, allocations: 8 kB / 332.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000903/0.01949, allocations: 1.573 MB / 334.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01949, allocations: 4 kB / 334.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.01979, allocations: 355.8 kB / 334.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.01981, allocations: 19.86 kB / 334.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01983, allocations: 11.92 kB / 334.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.01989, allocations: 8 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01993, allocations: 15.97 kB / 334.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01994, allocations: 8 kB / 334.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.124e-05/0.01998, allocations: 55.03 kB / 334.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01998, allocations: 0 / 334.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.02029, allocations: 87.98 kB / 334.9 MB, free: 13.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 9.894e-05/0.02039, allocations: 84.36 kB / 334.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.02073, allocations: 285.8 kB / 335.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.02074, allocations: 4 kB / 335.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.02092, allocations: 223.2 kB / 335.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.02113, allocations: 43.5 kB / 335.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.02208, allocations: 0.5474 MB / 336 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.02216, allocations: 116.2 kB / 336.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.02223, allocations: 29.88 kB / 336.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.02232, allocations: 83.36 kB / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02232, allocations: 0 / 336.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Templates: time 0.005033/0.02735, allocations: 3.217 MB / 339.5 MB, free: 8.664 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 -s gbode -gbm=radauIIA3 -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.0134840980172157]