Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.52 MB / 344.5 MB, free: 2.59 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 61.25 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.008197/0.3877, allocations: 4.189 MB / 0.5347 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3896, allocations: 0.8688 MB / 0.5355 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.3899, allocations: 10.81 kB / 0.5355 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.3901, allocations: 49.89 kB / 0.5356 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.3908, allocations: 164.6 kB / 0.5357 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.3911, allocations: 88.91 kB / 0.5358 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.3916, allocations: 398.7 kB / 0.5362 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.3919, allocations: 79.19 kB / 0.5363 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.3922, allocations: 178.5 kB / 0.5364 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.3927, allocations: 186.2 kB / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3927, allocations: 20.38 kB / 0.5366 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.3928, allocations: 23.91 kB / 0.5367 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3929, allocations: 85.48 kB / 0.5367 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.3931, allocations: 145.6 kB / 0.5369 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.3936, allocations: 296 kB / 0.5372 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3936, allocations: 0 / 0.5372 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3936, allocations: 0 / 0.5372 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3936, allocations: 0 / 0.5372 GB, free: 0.9453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001252/0.3948, allocations: 0.596 MB / 0.5377 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3949, allocations: 13.48 kB / 0.5378 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.395, allocations: 39.83 kB / 0.5378 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.3956, allocations: 343.8 kB / 0.5381 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3956, allocations: 21.06 kB / 0.5381 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3958, allocations: 31.5 kB / 0.5382 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.3964, allocations: 299.2 kB / 0.5385 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3964, allocations: 0 / 0.5385 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.3964, allocations: 11.03 kB / 0.5385 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3964, allocations: 5.125 kB / 0.5385 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.3969, allocations: 187.6 kB / 0.5387 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.3988, allocations: 1.281 MB / 0.5399 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.3991, allocations: 118.3 kB / 0.54 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.3992, allocations: 47.88 kB / 0.5401 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3992, allocations: 10.06 kB / 0.5401 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3992, allocations: 32 kB / 0.5401 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3992, allocations: 0 / 0.5401 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009679/0.4002, allocations: 0.5322 MB / 0.5406 GB, free: 13.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.4003, allocations: 109.2 kB / 0.5407 GB, free: 13.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.4005, allocations: 244.5 kB / 0.541 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.4005, allocations: 27.08 kB / 0.541 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4007, allocations: 205.2 kB / 0.5412 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.4007, allocations: 44.84 kB / 0.5412 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.4008, allocations: 44.16 kB / 0.5413 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4009, allocations: 336.1 kB / 0.5416 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.401, allocations: 40.39 kB / 0.5416 GB, free: 12.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4012, allocations: 125.5 kB / 0.5417 GB, free: 12.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.4015, allocations: 194 kB / 0.5419 GB, free: 12.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4015, allocations: 1.5 kB / 0.5419 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004351/0.4019, allocations: 230 kB / 0.5422 GB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4019, allocations: 6.938 kB / 0.5422 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.402, allocations: 2.125 kB / 0.5422 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.4021, allocations: 26.81 kB / 0.5422 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4024, allocations: 71.09 kB / 0.5423 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4024, allocations: 9.062 kB / 0.5423 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4026, allocations: 7.719 kB / 0.5423 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4026, allocations: 13.27 kB / 0.5423 GB, free: 12.41 MB / 398.1 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.4028, allocations: 150.8 kB / 0.5424 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.4028, allocations: 21.83 kB / 0.5424 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.4031, allocations: 141.9 kB / 0.5426 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4031, allocations: 10.12 kB / 0.5426 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4031, allocations: 1.156 kB / 0.5426 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4031, allocations: 0 / 0.5426 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.4035, allocations: 283.8 kB / 0.5429 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4035, allocations: 5.375 kB / 0.5429 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4037, allocations: 33.59 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4037, allocations: 1.344 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4037, allocations: 1.094 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4037, allocations: 6.344 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4037, allocations: 4 kB / 0.5429 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.4042, allocations: 363.8 kB / 0.5433 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.4043, allocations: 95.09 kB / 0.5434 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.4043, allocations: 10.3 kB / 0.5434 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4044, allocations: 5.438 kB / 0.5434 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.4045, allocations: 12.59 kB / 0.5434 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4045, allocations: 7.953 kB / 0.5434 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.4047, allocations: 168.5 kB / 0.5435 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4047, allocations: 1 kB / 0.5435 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.4051, allocations: 44.62 kB / 0.5436 GB, free: 11.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001359/0.4052, allocations: 107.3 kB / 0.5437 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.4056, allocations: 206.8 kB / 0.5439 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4056, allocations: 0 / 0.5439 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.4057, allocations: 52.33 kB / 0.5439 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.4063, allocations: 59.8 kB / 0.544 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.4074, allocations: 0.6095 MB / 0.5446 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.4078, allocations: 0.7697 MB / 0.5453 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.4079, allocations: 24.58 kB / 0.5454 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.408, allocations: 28.27 kB / 0.5454 GB, free: 9.801 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.408, allocations: 0 / 0.5454 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Templates: time 0.006801/0.4148, allocations: 2.31 MB / 0.5476 GB, free: 8.664 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.921018567867577]