Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001264/0.001264, allocations: 113 kB / 19.04 MB, free: 3.254 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.00125/0.00125, allocations: 197.9 kB / 22.22 MB, free: 72 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.456/1.456, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.1815/0.1815, allocations: 38.52 MB / 344.5 MB, free: 2.562 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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 75.88 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3761, allocations: 61.25 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006183/0.3823, allocations: 4.677 MB / 0.5351 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3847, allocations: 1.584 MB / 0.5367 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.3849, allocations: 14.28 kB / 0.5367 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.3858, allocations: 292.4 kB / 0.537 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.3863, allocations: 278.2 kB / 0.5372 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.387, allocations: 258.5 kB / 0.5375 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.3876, allocations: 0.6017 MB / 0.5381 GB, free: 124 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.3879, allocations: 182.1 kB / 0.5382 GB, free: 0 / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.3883, allocations: 279.9 kB / 0.5385 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.3888, allocations: 351 kB / 0.5388 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.3889, allocations: 33.66 kB / 0.5389 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3892, allocations: 153.9 kB / 0.539 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.3895, allocations: 217.2 kB / 0.5392 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.3898, allocations: 257.1 kB / 0.5395 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.3906, allocations: 0.5984 MB / 0.5401 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3906, allocations: 1.688 kB / 0.5401 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3906, allocations: 0 / 0.5401 GB, free: 14.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.3906, allocations: 0 / 0.5401 GB, free: 14.87 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001463/0.392, allocations: 0.7767 MB / 0.5408 GB, free: 14.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3921, allocations: 12.92 kB / 0.5408 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.3927, allocations: 94.59 kB / 0.5409 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.3934, allocations: 426.1 kB / 0.5413 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.3934, allocations: 30.03 kB / 0.5414 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.3936, allocations: 54.86 kB / 0.5414 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3946, allocations: 0.6667 MB / 0.5421 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.3946, allocations: 5.016 kB / 0.5421 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.3947, allocations: 17.59 kB / 0.5421 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3948, allocations: 46.69 kB / 0.5421 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008399/0.3957, allocations: 493.2 kB / 0.5426 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.3994, allocations: 3.159 MB / 0.5457 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.3999, allocations: 234.6 kB / 0.5459 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.4001, allocations: 117.2 kB / 0.546 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.4001, allocations: 7.312 kB / 0.546 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.4001, allocations: 36.66 kB / 0.5461 GB, free: 9.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.4002, allocations: 0 / 0.5461 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001689/0.4018, allocations: 0.8961 MB / 0.5469 GB, free: 9.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.4019, allocations: 80.17 kB / 0.547 GB, free: 9.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.4023, allocations: 333.9 kB / 0.5473 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4023, allocations: 35.27 kB / 0.5474 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4026, allocations: 297.1 kB / 0.5477 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.4026, allocations: 90.81 kB / 0.5477 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4028, allocations: 89.62 kB / 0.5478 GB, free: 8.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.403, allocations: 352.3 kB / 0.5482 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.4032, allocations: 127.2 kB / 0.5483 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.4035, allocations: 331.2 kB / 0.5486 GB, free: 7.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.4042, allocations: 497.3 kB / 0.5491 GB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4042, allocations: 2.406 kB / 0.5491 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001239/0.4055, allocations: 0.5968 MB / 0.5497 GB, free: 7.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4055, allocations: 8.625 kB / 0.5497 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00073/0.4062, allocations: 327 kB / 0.55 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.4067, allocations: 118.1 kB / 0.5501 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.4071, allocations: 86.05 kB / 0.5502 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.4104, allocations: 3.296 MB / 0.5534 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.4108, allocations: 13.72 kB / 0.5534 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.4108, allocations: 26.06 kB / 0.5534 GB, free: 3.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.4112, allocations: 217.7 kB / 0.5536 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.4112, allocations: 35.39 kB / 0.5537 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.4118, allocations: 317.6 kB / 0.554 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4118, allocations: 3.406 kB / 0.554 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4118, allocations: 5.062 kB / 0.554 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.4119, allocations: 0 / 0.554 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.4131, allocations: 0.8036 MB / 0.5548 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4131, allocations: 5.156 kB / 0.5548 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.4134, allocations: 56.95 kB / 0.5548 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4134, allocations: 6.125 kB / 0.5548 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.4135, allocations: 8.344 kB / 0.5548 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4135, allocations: 5 kB / 0.5548 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4135, allocations: 2.156 kB / 0.5548 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.4142, allocations: 0.5073 MB / 0.5553 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.4143, allocations: 132.8 kB / 0.5555 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.4144, allocations: 4 kB / 0.5555 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4145, allocations: 11.98 kB / 0.5555 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.4146, allocations: 19.92 kB / 0.5555 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4146, allocations: 11.98 kB / 0.5555 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.4149, allocations: 219.1 kB / 0.5557 GB, free: 1.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 4 kB / 0.5557 GB, free: 1.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.4154, allocations: 100 kB / 0.5558 GB, free: 1.676 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.0001318/0.4155, allocations: 107.2 kB / 0.5559 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.4165, allocations: 0.5605 MB / 0.5565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4165, allocations: 4 kB / 0.5565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.4167, allocations: 123.8 kB / 0.5566 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.4172, allocations: 75.47 kB / 0.5567 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4189, allocations: 1.021 MB / 0.5577 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.4194, allocations: 0.8699 MB / 0.5585 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.4197, allocations: 115.2 kB / 0.5586 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.4198, allocations: 27.44 kB / 0.5586 GB, free: 14.7 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4198, allocations: 4 kB / 0.5587 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Templates: time 0.009045/0.4288, allocations: 4.086 MB / 0.5626 GB, free: 10.63 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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: 5.023994108662009]